ci: deprecated self-hosted agents for SDL2 builds, using Docker instead

This commit is contained in:
Dimitris Panokostas 2022-06-07 10:46:45 +02:00
parent 0c269f8ed0
commit f37e08b4be

View File

@ -60,7 +60,7 @@ jobs:
artifacts: | artifacts: |
amiberry-${{ steps.tag.outputs.tag }}-rpi3-dmx-32bit-rpios.zip amiberry-${{ steps.tag.outputs.tag }}-rpi3-dmx-32bit-rpios.zip
build-rpi3-sdl2-32bit-docker: build-rpi3-sdl2-32bit-debian:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -76,7 +76,7 @@ jobs:
make -j8 PLATFORM=rpi3-sdl2 make -j8 PLATFORM=rpi3-sdl2
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: amiberry-rpi3-sdl2-32bit-docker name: amiberry-rpi3-sdl2-32bit-debian
path: | path: |
amiberry amiberry
capsimg.so capsimg.so
@ -97,7 +97,7 @@ jobs:
strip_v: false strip_v: false
- name: ZIP binaries - name: ZIP binaries
if: github.ref_type == 'tag' if: github.ref_type == 'tag'
run: zip -r amiberry-${{ steps.tag.outputs.tag }}-rpi3-sdl2-32bit-rpios.zip amiberry capsimg.so abr conf controllers data kickstarts savestates screenshots whdboot run: zip -r amiberry-${{ steps.tag.outputs.tag }}-rpi3-sdl2-32bit-debian.zip amiberry capsimg.so abr conf controllers data kickstarts savestates screenshots whdboot
- name: Create Changelog - name: Create Changelog
if: github.ref_type == 'tag' if: github.ref_type == 'tag'
id: changelog id: changelog
@ -113,58 +113,7 @@ jobs:
omitBodyDuringUpdate: true omitBodyDuringUpdate: true
body: ${{ steps.changelog.outputs.changes }} body: ${{ steps.changelog.outputs.changes }}
artifacts: | artifacts: |
amiberry-${{ steps.tag.outputs.tag }}-rpi3-sdl2-32bit-rpios.zip amiberry-${{ steps.tag.outputs.tag }}-rpi3-sdl2-32bit-debian.zip
# build-rpi3-sdl2-32bit-rpios:
# runs-on: [self-hosted, Linux, ARM, rpios32]
# steps:
# - uses: actions/checkout@v3
# with:
# submodules: 'true'
# - name: make capsimg
# run: make capsimg
# - name: make for RPIOS RPI3-SDL2 32-bit
# run: make -j4 PLATFORM=rpi3-sdl2
# - uses: actions/upload-artifact@v3
# with:
# name: amiberry-rpi3-sdl2-32bit-rpios
# path: |
# amiberry
# capsimg.so
# abr/**
# conf/**
# controllers/**
# data/**
# kickstarts/**
# savestates/**
# screenshots/**
# whdboot/**
# - name: Get tag
# if: github.ref_type == 'tag'
# id: tag
# uses: dawidd6/action-get-tag@v1
# with:
# # Optionally strip `v` prefix
# strip_v: false
# - name: ZIP binaries
# if: github.ref_type == 'tag'
# run: zip -r amiberry-${{ steps.tag.outputs.tag }}-rpi3-sdl2-32bit-rpios.zip amiberry capsimg.so abr conf controllers data kickstarts savestates screenshots whdboot
# - name: Create Changelog
# if: github.ref_type == 'tag'
# id: changelog
# uses: loopwerk/tag-changelog@v1
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# config_file: .github/tag-changelog-config.js
# - name: Create Release
# if: github.ref_type == 'tag'
# uses: ncipollo/release-action@v1
# with:
# allowUpdates: true
# omitBodyDuringUpdate: true
# body: ${{ steps.changelog.outputs.changes }}
# artifacts: |
# amiberry-${{ steps.tag.outputs.tag }}-rpi3-sdl2-32bit-rpios.zip
build-rpi4-dmx-32bit-rpios: build-rpi4-dmx-32bit-rpios:
runs-on: [self-hosted, Linux, ARM, rpios32, dmx] runs-on: [self-hosted, Linux, ARM, rpios32, dmx]
@ -219,7 +168,7 @@ jobs:
artifacts: | artifacts: |
amiberry-${{ steps.tag.outputs.tag }}-rpi4-dmx-32bit-rpios.zip amiberry-${{ steps.tag.outputs.tag }}-rpi4-dmx-32bit-rpios.zip
build-rpi4-sdl2-32bit-docker: build-rpi4-sdl2-32bit-debian:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -235,7 +184,7 @@ jobs:
make -j8 PLATFORM=rpi4-sdl2 make -j8 PLATFORM=rpi4-sdl2
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: amiberry-rpi4-sdl2-32bit-docker name: amiberry-rpi4-sdl2-32bit-debian
path: | path: |
amiberry amiberry
capsimg.so capsimg.so
@ -256,7 +205,7 @@ jobs:
strip_v: false strip_v: false
- name: ZIP binaries - name: ZIP binaries
if: github.ref_type == 'tag' if: github.ref_type == 'tag'
run: zip -r amiberry-${{ steps.tag.outputs.tag }}-rpi4-sdl2-32bit-rpios.zip amiberry capsimg.so abr conf controllers data kickstarts savestates screenshots whdboot run: zip -r amiberry-${{ steps.tag.outputs.tag }}-rpi4-sdl2-32bit-debian.zip amiberry capsimg.so abr conf controllers data kickstarts savestates screenshots whdboot
- name: Create Changelog - name: Create Changelog
if: github.ref_type == 'tag' if: github.ref_type == 'tag'
id: changelog id: changelog
@ -272,74 +221,25 @@ jobs:
omitBodyDuringUpdate: true omitBodyDuringUpdate: true
body: ${{ steps.changelog.outputs.changes }} body: ${{ steps.changelog.outputs.changes }}
artifacts: | artifacts: |
amiberry-${{ steps.tag.outputs.tag }}-rpi4-sdl2-32bit-rpios.zip amiberry-${{ steps.tag.outputs.tag }}-rpi4-sdl2-32bit-debian.zip
# build-rpi4-sdl2-32bit-rpios: build-rpi3-sdl2-64bit-debian:
# runs-on: [self-hosted, Linux, ARM, rpios32] runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# with:
# submodules: 'true'
# - name: make capsimg
# run: make capsimg
# - name: make for RPIOS RPI4-SDL2 32-bit
# run: make -j4 PLATFORM=rpi4-sdl2
# - name: copy binary locally
# run: cp amiberry ~/projects/amiberry/amiberry
# - uses: actions/upload-artifact@v3
# with:
# name: amiberry-rpi4-sdl2-32bit-rpios
# path: |
# amiberry
# capsimg.so
# abr/**
# conf/**
# controllers/**
# data/**
# kickstarts/**
# savestates/**
# screenshots/**
# whdboot/**
# - name: Get tag
# if: github.ref_type == 'tag'
# id: tag
# uses: dawidd6/action-get-tag@v1
# with:
# # Optionally strip `v` prefix
# strip_v: false
# - name: ZIP binaries
# if: github.ref_type == 'tag'
# run: zip -r amiberry-${{ steps.tag.outputs.tag }}-rpi4-sdl2-32bit-rpios.zip amiberry capsimg.so abr conf controllers data kickstarts savestates screenshots whdboot
# - name: Create Changelog
# if: github.ref_type == 'tag'
# id: changelog
# uses: loopwerk/tag-changelog@v1
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# config_file: .github/tag-changelog-config.js
# - name: Create Release
# if: github.ref_type == 'tag'
# uses: ncipollo/release-action@v1
# with:
# allowUpdates: true
# omitBodyDuringUpdate: true
# body: ${{ steps.changelog.outputs.changes }}
# artifacts: |
# amiberry-${{ steps.tag.outputs.tag }}-rpi4-sdl2-32bit-rpios.zip
build-rpi3-dmx-64bit-rpios:
runs-on: [self-hosted, Linux, ARM64, rpios64, dmx]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
submodules: 'true' submodules: 'true'
- name: make capsimg - name: Run the build process with Docker
run: make capsimg uses: addnab/docker-run-action@v3
- name: make for RPIOS RPI3-DMX 64-bit with:
run: make -j4 PLATFORM=rpi3-64-dmx image: midwan/amiberry-docker-aarch64:latest
options: -v ${{ github.workspace }}:/build
run: |
make capsimg
make -j8 PLATFORM=rpi3-64-sdl2
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: amiberry-rpi3-dmx-64bit-rpios name: amiberry-rpi3-sdl2-64bit-debian
path: | path: |
amiberry amiberry
capsimg.so capsimg.so
@ -360,7 +260,7 @@ jobs:
strip_v: false strip_v: false
- name: ZIP binaries - name: ZIP binaries
if: github.ref_type == 'tag' if: github.ref_type == 'tag'
run: zip -r amiberry-${{ steps.tag.outputs.tag }}-rpi3-dmx-64bit-rpios.zip amiberry capsimg.so abr conf controllers data kickstarts savestates screenshots whdboot run: zip -r amiberry-${{ steps.tag.outputs.tag }}-rpi3-sdl2-64bit-debian.zip amiberry capsimg.so abr conf controllers data kickstarts savestates screenshots whdboot
- name: Create Changelog - name: Create Changelog
if: github.ref_type == 'tag' if: github.ref_type == 'tag'
id: changelog id: changelog
@ -376,21 +276,25 @@ jobs:
omitBodyDuringUpdate: true omitBodyDuringUpdate: true
body: ${{ steps.changelog.outputs.changes }} body: ${{ steps.changelog.outputs.changes }}
artifacts: | artifacts: |
amiberry-${{ steps.tag.outputs.tag }}-rpi3-dmx-64bit-rpios.zip amiberry-${{ steps.tag.outputs.tag }}-rpi3-sdl2-64bit-debian.zip
build-rpi3-sdl2-64bit-rpios: build-rpi4-sdl2-64bit-debian:
runs-on: [self-hosted, Linux, ARM64, rpios64] runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
submodules: 'true' submodules: 'true'
- name: make capsimg - name: Run the build process with Docker
run: make capsimg uses: addnab/docker-run-action@v3
- name: make for RPIOS RPI3-SDL2 64-bit with:
run: make -j4 PLATFORM=rpi3-64-sdl2 image: midwan/amiberry-docker-aarch64:latest
options: -v ${{ github.workspace }}:/build
run: |
make capsimg
make -j8 PLATFORM=rpi4-64-sdl2
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: amiberry-rpi3-sdl2-64bit-rpios name: amiberry-rpi4-sdl2-64bit-debian
path: | path: |
amiberry amiberry
capsimg.so capsimg.so
@ -411,7 +315,7 @@ jobs:
strip_v: false strip_v: false
- name: ZIP binaries - name: ZIP binaries
if: github.ref_type == 'tag' if: github.ref_type == 'tag'
run: zip -r amiberry-${{ steps.tag.outputs.tag }}-rpi3-sdl2-64bit-rpios.zip amiberry capsimg.so abr conf controllers data kickstarts savestates screenshots whdboot run: zip -r amiberry-${{ steps.tag.outputs.tag }}-rpi4-sdl2-64bit-debian.zip amiberry capsimg.so abr conf controllers data kickstarts savestates screenshots whdboot
- name: Create Changelog - name: Create Changelog
if: github.ref_type == 'tag' if: github.ref_type == 'tag'
id: changelog id: changelog
@ -427,23 +331,25 @@ jobs:
omitBodyDuringUpdate: true omitBodyDuringUpdate: true
body: ${{ steps.changelog.outputs.changes }} body: ${{ steps.changelog.outputs.changes }}
artifacts: | artifacts: |
amiberry-${{ steps.tag.outputs.tag }}-rpi3-sdl2-64bit-rpios.zip amiberry-${{ steps.tag.outputs.tag }}-rpi4-sdl2-64bit-debian.zip
build-rpi4-dmx-64bit-rpios: build-RK3399-sdl2-64bit-debian:
runs-on: [self-hosted, Linux, ARM64, rpios64, dmx] runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
submodules: 'true' submodules: 'true'
- name: make capsimg - name: Run the build process with Docker
run: make capsimg uses: addnab/docker-run-action@v3
- name: make for RPIOS RPI4-DMX 64-bit with:
run: make -j4 PLATFORM=rpi4-64-dmx image: midwan/amiberry-docker-aarch64:latest
- name: copy binary locally options: -v ${{ github.workspace }}:/build
run: cp amiberry ~/projects/amiberry/amiberry-dmx run: |
make capsimg
make -j8 PLATFORM=n2
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: amiberry-rpi4-dmx-64bit-rpios name: amiberry-rk3399-sdl2-64bit-debian
path: | path: |
amiberry amiberry
capsimg.so capsimg.so
@ -464,7 +370,7 @@ jobs:
strip_v: false strip_v: false
- name: ZIP binaries - name: ZIP binaries
if: github.ref_type == 'tag' if: github.ref_type == 'tag'
run: zip -r amiberry-${{ steps.tag.outputs.tag }}-rpi4-dmx-64bit-rpios.zip amiberry capsimg.so abr conf controllers data kickstarts savestates screenshots whdboot run: zip -r amiberry-${{ steps.tag.outputs.tag }}-rk3399-sdl2-64bit-debian.zip amiberry capsimg.so abr conf controllers data kickstarts savestates screenshots whdboot
- name: Create Changelog - name: Create Changelog
if: github.ref_type == 'tag' if: github.ref_type == 'tag'
id: changelog id: changelog
@ -480,166 +386,7 @@ jobs:
omitBodyDuringUpdate: true omitBodyDuringUpdate: true
body: ${{ steps.changelog.outputs.changes }} body: ${{ steps.changelog.outputs.changes }}
artifacts: | artifacts: |
amiberry-${{ steps.tag.outputs.tag }}-rpi4-dmx-64bit-rpios.zip amiberry-${{ steps.tag.outputs.tag }}-rk3399-sdl2-64bit-debian.zip
build-rpi4-sdl2-64bit-rpios:
runs-on: [self-hosted, Linux, ARM64, rpios64]
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: make capsimg
run: make capsimg
- name: make for RPIOS RPI4-SDL2 64-bit
run: make -j4 PLATFORM=rpi4-64-sdl2
- name: copy binary locally
run: cp amiberry ~/projects/amiberry/amiberry
- uses: actions/upload-artifact@v3
with:
name: amiberry-rpi4-sdl2-64bit-rpios
path: |
amiberry
capsimg.so
abr/**
conf/**
controllers/**
data/**
kickstarts/**
savestates/**
screenshots/**
whdboot/**
- name: Get tag
if: github.ref_type == 'tag'
id: tag
uses: dawidd6/action-get-tag@v1
with:
# Optionally strip `v` prefix
strip_v: false
- name: ZIP binaries
if: github.ref_type == 'tag'
run: zip -r amiberry-${{ steps.tag.outputs.tag }}-rpi4-sdl2-64bit-rpios.zip amiberry capsimg.so abr conf controllers data kickstarts savestates screenshots whdboot
- name: Create Changelog
if: github.ref_type == 'tag'
id: changelog
uses: loopwerk/tag-changelog@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
config_file: .github/tag-changelog-config.js
- name: Create Release
if: github.ref_type == 'tag'
uses: ncipollo/release-action@v1
with:
allowUpdates: true
omitBodyDuringUpdate: true
body: ${{ steps.changelog.outputs.changes }}
artifacts: |
amiberry-${{ steps.tag.outputs.tag }}-rpi4-sdl2-64bit-rpios.zip
build-rpi4-sdl2-64bit-manjaro:
runs-on: [self-hosted, Linux, ARM64, manjaro]
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: make capsimg
run: make capsimg
- name: make for Manjaro RPI4-SDL2 64-bit
run: make -j4 PLATFORM=rpi4-64-sdl2
- name: copy binary locally
run: cp amiberry ~/projects/amiberry/amiberry
- uses: actions/upload-artifact@v3
with:
name: amiberry-rpi4-sdl2-64bit-manjaro
path: |
amiberry
capsimg.so
abr/**
conf/**
controllers/**
data/**
kickstarts/**
savestates/**
screenshots/**
whdboot/**
- name: Get tag
if: github.ref_type == 'tag'
id: tag
uses: dawidd6/action-get-tag@v1
with:
# Optionally strip `v` prefix
strip_v: false
- name: ZIP binaries
if: github.ref_type == 'tag'
run: zip -r amiberry-${{ steps.tag.outputs.tag }}-rpi4-sdl2-64bit-manjaro.zip amiberry capsimg.so abr conf controllers data kickstarts savestates screenshots whdboot
- name: Create Changelog
if: github.ref_type == 'tag'
id: changelog
uses: loopwerk/tag-changelog@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
config_file: .github/tag-changelog-config.js
- name: Create Release
if: github.ref_type == 'tag'
uses: ncipollo/release-action@v1
with:
allowUpdates: true
omitBodyDuringUpdate: true
body: ${{ steps.changelog.outputs.changes }}
artifacts: |
amiberry-${{ steps.tag.outputs.tag }}-rpi4-sdl2-64bit-manjaro.zip
build-RK3399-sdl2-64bit-manjaro:
runs-on: [self-hosted, Linux, ARM64, rockpro64]
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: make capsimg
run: make capsimg
- name: make for RK3399
run: make -j4 PLATFORM=n2
- name: copy binary locally
run: cp amiberry ~/projects/amiberry/amiberry
- uses: actions/upload-artifact@v3
with:
name: amiberry-rk3399-sdl2-64bit-manjaro
path: |
amiberry
capsimg.so
abr/**
conf/**
controllers/**
data/**
kickstarts/**
savestates/**
screenshots/**
whdboot/**
- name: Get tag
if: github.ref_type == 'tag'
id: tag
uses: dawidd6/action-get-tag@v1
with:
# Optionally strip `v` prefix
strip_v: false
- name: ZIP binaries
if: github.ref_type == 'tag'
run: zip -r amiberry-${{ steps.tag.outputs.tag }}-rk3399-sdl2-64bit-manjaro.zip amiberry capsimg.so abr conf controllers data kickstarts savestates screenshots whdboot
- name: Create Changelog
if: github.ref_type == 'tag'
id: changelog
uses: loopwerk/tag-changelog@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
config_file: .github/tag-changelog-config.js
- name: Create Release
if: github.ref_type == 'tag'
uses: ncipollo/release-action@v1
with:
allowUpdates: true
omitBodyDuringUpdate: true
body: ${{ steps.changelog.outputs.changes }}
artifacts: |
amiberry-${{ steps.tag.outputs.tag }}-rk3399-sdl2-64bit-manjaro.zip
build-macOS-64bit-intel: build-macOS-64bit-intel:
runs-on: [self-hosted, macOS, X64] runs-on: [self-hosted, macOS, X64]