Upgrade to ubuntu-24. #6
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: Fleetbench CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-22.04-32core, arm-ubuntu-arm-22.04-32core] | |
| config: [fastbuild, opt] | |
| compiler: | |
| - name: gcc | |
| flags: "" | |
| - name: clang | |
| flags: "--config=clang" | |
| runs-on: ${{ matrix.os }} | |
| name: "Build/Test ${{ matrix.os }} ${{ matrix.compiler.name }} ${{ matrix.config }}" | |
| steps: | |
| - name: Install clang | |
| run: | | |
| sudo apt update | |
| sudo apt install -y clang-15 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Build | |
| run: | | |
| bazel build -c ${{ matrix.config }} ${{ matrix.compiler.flags }} --keep_going //... | |
| - name: Test | |
| run: | | |
| bazel test -c ${{ matrix.config }} ${{ matrix.compiler.flags }} --test_output=errors //... | |