From be64fa2f7458bf0201de866d5f40698cf7e099a5 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 20 Feb 2022 18:35:25 +0100 Subject: [PATCH] Try to build for Raspberry Pi 2 --- .github/workflows/build.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 783becf..f3aa87f 100644 --- a/.github/workflows/build.yml +++ b/.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