diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f8738d..6612e32 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,13 +1,13 @@ -name: BuildSysex +name: Build env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} on: push: - branches: [ SysExControl ] + branches: [ main ] pull_request: - branches: [ SysExControl ] + branches: [ main ] jobs: Build: @@ -46,6 +46,18 @@ jobs: export PATH=$(readlink -f ./gcc-*aarch64-none*/bin/):$PATH RPI=3 bash -ex build.sh cp ./src/kernel*.img ./kernels/ + - name: Build for Raspberry Pi 2 + run: | + set -ex + export PATH=$(readlink -f ./gcc-*arm-none*/bin/):$PATH + RPI=2 bash -ex build.sh + cp ./src/kernel*.img ./kernels/ + - name: Build for Raspberry Pi 1 + run: | + set -ex + export PATH=$(readlink -f ./gcc-*arm-none*/bin/):$PATH + RPI=1 bash -ex build.sh + cp ./src/kernel*.img ./kernels/ - name: Get Raspberry Pi boot files run: | set -ex @@ -74,4 +86,3 @@ jobs: set -ex wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh bash ./upload.sh ./MiniDexed*.zip -