Merge branch 'SysExControl' of https://github.com/BenZonneveld/MiniDexed into SysExControl

pull/287/head
Ben Zonneveld 2 years ago
commit b87fd74bf9
  1. 15
      .github/workflows/build.yml
  2. 7
      build.sh

@ -1,4 +1,4 @@
name: BuildSysex name: Build
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -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

@ -1,4 +1,9 @@
f [ -z "${RPI}" ] ; then #!/bin/bash
set -e
set -x
if [ -z "${RPI}" ] ; then
echo "\$RPI missing, exting" echo "\$RPI missing, exting"
exit 1 exit 1
fi fi

Loading…
Cancel
Save