From fd345d8bba1f2a2f24508b109782a4e7f83a3638 Mon Sep 17 00:00:00 2001 From: probonopd Date: Tue, 21 Jun 2022 00:38:02 +0200 Subject: [PATCH] Restore build.yml Revert changes unrelated to the PR --- .github/workflows/build.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) 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 -