feat(cortex-m3): peripheral IRQ pipeline — C2/C1/C3 #14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Cross-Compile & E2E | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| workflow_dispatch: | |
| jobs: | |
| firmware-and-e2e: | |
| name: Firmware Build + E2E Test | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| env: | |
| CC: gcc-14 | |
| CXX: g++-14 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install host & ARM toolchains | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y g++-14 gcc-arm-none-eabi binutils-arm-none-eabi | |
| - name: Verify ARM toolchain | |
| run: arm-none-eabi-gcc --version | |
| - name: Cache GoogleTest | |
| uses: actions/cache@v4 | |
| with: | |
| path: build/_deps/googletest-src | |
| key: googletest-v1.14.0-${{ runner.os }} | |
| - name: Configure | |
| run: cmake -B build -DCMAKE_BUILD_TYPE=Debug | |
| - name: Build | |
| run: cmake --build build -j "$(nproc)" | |
| - name: Test (including E2E) | |
| working-directory: build | |
| run: ctest --output-on-failure --timeout 120 -j "$(nproc)" | |
| - name: Upload test logs on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: cross-compile-test-logs | |
| path: build/Testing/ |