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
run: |
git submodule update --init --recursive
- name: Install toolchain
- name: Install toolchains
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
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
run: |
export PATH=$(readlink -f ./gcc-*/bin/):$PATH
export PATH=$(readlink -f ./gcc-*aarch64-none*/bin/):$PATH
RPI=4 bash -ex build.sh
ls src/*.img
- name: Build for Raspberry Pi 3
- name: Build for Raspberry Pi 2
run: |
export PATH=$(readlink -f ./gcc-*/bin/):$PATH
RPI=3 bash -ex build.sh
export PATH=$(readlink -f ./gcc-*arm-none*/bin/):$PATH
RPI=2 bash -ex build.sh
ls src/*.img
- name: Get Raspberry Pi boot files
run: |
export PATH=$(readlink -f ./gcc-*/bin/):$PATH
export PATH=$(readlink -f ./gcc-*aarch64-none*/bin/):$PATH
cd ./circle-stdlib/libs/circle/boot
make
make armstub64

Loading…
Cancel
Save