diff --git a/.github/workflows/build-firmware.yaml b/.github/workflows/build-firmware.yaml index 5bb20cd..ecbd421 100644 --- a/.github/workflows/build-firmware.yaml +++ b/.github/workflows/build-firmware.yaml @@ -10,11 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - name: "Get dependencies" - uses: awalsh128/cache-apt-pkgs-action@v1 - with: - version: 1 - execute_install_scripts: true - packages: cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib + run: sudo apt-get -y install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib + # This doesn't appear to work due to issues with 'nosys.specs' + # uses: awalsh128/cache-apt-pkgs-action@v1 + # with: + # version: 1 + # execute_install_scripts: true + # packages: cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib - name: "Checkout repo" uses: actions/checkout@v4 with: @@ -22,7 +24,7 @@ jobs: - name: "CMake setup" run: cd firmware/ && mkdir build/ && cd build/ && cmake .. - name: "Build with make" - run: cd firmware/build/ && make + run: cd firmware/build/ && make -j2 - name: "Upload artifact" uses: actions/upload-artifact@v4 with: