Skip to content

Commit

Permalink
actions: use pre-build container
Browse files Browse the repository at this point in the history
  • Loading branch information
LnnrtS committed Oct 17, 2023
1 parent 4c6c984 commit f9836ab
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/build_test_firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
gcc: ['12.2.Rel1'] # can add other versions if needed
name: "Build firmware"
runs-on: ubuntu-latest
container: LnnrtS/metamodule:latest
steps:
- name: Install Arm GNU Toolchain (arm-none-eabi-gcc)
uses: carlosperate/arm-none-eabi-gcc-action@v1
Expand All @@ -35,14 +36,6 @@ jobs:
submodules: 'recursive'
token: ${{ secrets.CHECKOUT_TOKEN }}

- name: Install linux dependencies
run: |
sudo apt install -y ninja-build
- name: Build and install flatbuffer compiler
run: |
cd firmware/lib/flatbuffers && cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -GNinja && cmake --build build
- name: Build and test
run: cd firmware && make configure && make all

Expand Down

0 comments on commit f9836ab

Please sign in to comment.