Skip to content

Commit

Permalink
no more caching packages, due to issues
Browse files Browse the repository at this point in the history
  • Loading branch information
NotQuiteApex committed Dec 28, 2023
1 parent df823bc commit a9f426d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@ 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:
submodules: recursive
- 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:
Expand Down

0 comments on commit a9f426d

Please sign in to comment.