diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 79d9afc3f1bf7..885b68deee188 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -135,15 +135,19 @@ jobs: - name: Extract sources run: tar zxf sources.tar.gz - - name: Docker Login - uses: docker/login-action@v2 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Docker Pull - run: docker pull ghcr.io/apache/nuttx/apache-nuttx-ci-linux + - name: Install tools + run: | + sudo apt-get install kconfig-frontends + mkdir -p tools + cd tools + wget --quiet https://static.dev.sifive.com/dev-tools/freedom-tools/v2020.12/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14.tar.gz + tar xvf riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14.tar.gz + wget --quiet https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz + xz -d arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz + tar xf arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar + wget --quiet https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/releases/download/release-14.0.0/LLVMEmbeddedToolchainForArm-14.0.0-linux.tar.gz + tar zxf LLVMEmbeddedToolchainForArm-14.0.0-linux.tar.gz + mv LLVMEmbeddedToolchainForArm-14.0.0 clang-arm-none-eabi - name: Export NuttX Repo SHA run: echo "nuttx_sha=`git -C sources/nuttx rev-parse HEAD`" >> $GITHUB_ENV @@ -156,6 +160,8 @@ jobs: run: | echo "::add-matcher::sources/nuttx/.github/gcc.json" export ARTIFACTDIR=`pwd`/buildartifacts + export PATH=$PATH:$PWD/tools/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14/bin/ + export PATH=$PATH:$PWD/tools/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi/bin/ git config --global --add safe.directory /github/workspace/sources/nuttx git config --global --add safe.directory /github/workspace/sources/apps cd sources/nuttx/tools/ci