From a9f426d82d91669761b9d939f9fbd85126412e22 Mon Sep 17 00:00:00 2001 From: Logan H-D Date: Wed, 27 Dec 2023 19:21:21 -0500 Subject: [PATCH] no more caching packages, due to issues --- .github/workflows/build-firmware.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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: