|
|
@ -1,13 +1,13 @@ |
|
|
|
name: BuildSysex |
|
|
|
name: Build |
|
|
|
|
|
|
|
|
|
|
|
env: |
|
|
|
env: |
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|
|
|
|
|
on: |
|
|
|
on: |
|
|
|
push: |
|
|
|
push: |
|
|
|
branches: [ SysExControl ] |
|
|
|
branches: [ main ] |
|
|
|
pull_request: |
|
|
|
pull_request: |
|
|
|
branches: [ SysExControl ] |
|
|
|
branches: [ main ] |
|
|
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
Build: |
|
|
|
Build: |
|
|
@ -46,6 +46,18 @@ jobs: |
|
|
|
export PATH=$(readlink -f ./gcc-*aarch64-none*/bin/):$PATH |
|
|
|
export PATH=$(readlink -f ./gcc-*aarch64-none*/bin/):$PATH |
|
|
|
RPI=3 bash -ex build.sh |
|
|
|
RPI=3 bash -ex build.sh |
|
|
|
cp ./src/kernel*.img ./kernels/ |
|
|
|
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 |
|
|
|
- name: Get Raspberry Pi boot files |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
set -ex |
|
|
|
set -ex |
|
|
@ -74,4 +86,3 @@ jobs: |
|
|
|
set -ex |
|
|
|
set -ex |
|
|
|
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh |
|
|
|
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh |
|
|
|
bash ./upload.sh ./MiniDexed*.zip |
|
|
|
bash ./upload.sh ./MiniDexed*.zip |
|
|
|
|
|
|
|
|
|
|
|