Skip to content

Commit

Permalink
ci: added RPI4 debian builds
Browse files Browse the repository at this point in the history
These use the Docker images and Debian:latest to build.
Currently for RPI4 platform only (32 and 64-bit)
  • Loading branch information
midwan committed Oct 23, 2023
1 parent 6da7b82 commit d63a608
Showing 1 changed file with 115 additions and 1 deletion.
116 changes: 115 additions & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -430,4 +430,118 @@ jobs:
omitBodyDuringUpdate: true
body: ${{ steps.changelog.outputs.changes }}
artifacts: |
amiberry-${{ steps.tag.outputs.tag }}-rk3399-sdl2-64bit-manjaro.zip
amiberry-${{ steps.tag.outputs.tag }}-rk3399-sdl2-64bit-manjaro.zip
build-rpi4-sdl2-64bit-debian:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
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
with:
name: amiberry-rpi4-sdl2-64bit-debian
path: |
amiberry
capsimg.so
abr/**
conf/**
controllers/**
data/**
inputrecordings/**
kickstarts/**
nvram/**
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-debian.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-debian.zip
build-rpi4-sdl2-32bit-debian:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
image: midwan/amiberry-docker-armhf:latest
options: -v ${{ github.workspace }}:/build
run: |
make capsimg
make -j8 PLATFORM=rpi4-sdl2
- uses: actions/upload-artifact@v3
with:
name: amiberry-rpi4-sdl2-32bit-debian
path: |
amiberry
capsimg.so
abr/**
conf/**
controllers/**
data/**
inputrecordings/**
kickstarts/**
nvram/**
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-debian.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-debian.zip

0 comments on commit d63a608

Please sign in to comment.