Hang FakeCANBoard #4088
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: C/C++ CI | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Install dependencies from APT | |
| run: | | |
| cd ${{ github.workspace }} | |
| ./easy_install.sh | |
| - name: Build codebase | |
| run: | | |
| cd ${{ github.workspace }} | |
| mkdir build && cd build && cmake ../src && cmake --build . -j$(nproc) | |
| - name: Run tests | |
| run: | | |
| cd build && ./tests | |
| - name: Build codebase (for sim) | |
| run: | | |
| cd ${{ github.workspace }} | |
| cd build && cmake ../src -DWORLD_INTERFACE=SIMULATOR && cmake --build . -j$(nproc) | |
| - name: Run tests (for sim) | |
| run: | | |
| cd build && ./tests |