Try to build for Raspberry Pi 2

pull/25/head
probonopd 3 years ago committed by GitHub
parent 2922c73b62
commit be64fa2f74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      .github/workflows/build.yml

@ -19,23 +19,25 @@ jobs:
- name: Recursively pull git submodules - name: Recursively pull git submodules
run: | run: |
git submodule update --init --recursive git submodule update --init --recursive
- name: Install toolchain - name: Install toolchains
run: | run: |
wget -q https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz wget -q https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
tar xf gcc-arm-*-*.tar.xz tar xf *-aarch64-none-elf.tar.xz
wget -q https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-arm-none-eabi.tar.xz
tar xf *-arm-none-eabi.tar.xz
- name: Build for Raspberry Pi 4 - name: Build for Raspberry Pi 4
run: | run: |
export PATH=$(readlink -f ./gcc-*/bin/):$PATH export PATH=$(readlink -f ./gcc-*aarch64-none*/bin/):$PATH
RPI=4 bash -ex build.sh RPI=4 bash -ex build.sh
ls src/*.img ls src/*.img
- name: Build for Raspberry Pi 3 - name: Build for Raspberry Pi 2
run: | run: |
export PATH=$(readlink -f ./gcc-*/bin/):$PATH export PATH=$(readlink -f ./gcc-*arm-none*/bin/):$PATH
RPI=3 bash -ex build.sh RPI=2 bash -ex build.sh
ls src/*.img ls src/*.img
- name: Get Raspberry Pi boot files - name: Get Raspberry Pi boot files
run: | run: |
export PATH=$(readlink -f ./gcc-*/bin/):$PATH export PATH=$(readlink -f ./gcc-*aarch64-none*/bin/):$PATH
cd ./circle-stdlib/libs/circle/boot cd ./circle-stdlib/libs/circle/boot
make make
make armstub64 make armstub64

Loading…
Cancel
Save