arm builds #944
This file contains 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: Bazel build | |
on: [push, pull_request] | |
jobs: | |
build_and_test: | |
name: Linux Ubuntu Bazel build <GCC 11.2.0> | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, ubuntu-22.04-arm] | |
compilation_mode: [fastbuild, dbg, opt] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Mount bazel cache | |
uses: actions/cache@v4 | |
with: | |
path: "/home/runner/.cache/bazel" | |
# Use the OS name in the cache key to separate caches per platform. | |
key: bazel-${{ matrix.os }}-gcc11 | |
- name: Build Catch2 | |
run: | | |
bazelisk build --compilation_mode=${{ matrix.compilation_mode }} //... |