diff --git a/.github/workflows/bazel_build.yml b/.github/workflows/bazel_build.yml index 8abc463..aa0e158 100644 --- a/.github/workflows/bazel_build.yml +++ b/.github/workflows/bazel_build.yml @@ -6,7 +6,7 @@ on: jobs: build_and_test_ubuntu20: - name: Linux Ubuntu 20.04 build + name: Linux Ubuntu 20.04 build runs-on: ubuntu-20.04 steps: @@ -29,7 +29,7 @@ jobs: bazelisk run --config=gcc9 //square:main build_and_test_ubuntu22: - name: Linux Ubuntu 22.04 build + name: Linux Ubuntu 22.04 build runs-on: ubuntu-22.04 steps: @@ -149,12 +149,6 @@ jobs: echo "Compiler info:" clang --version - - name: Ispc - run: | - brew install ispc - ispc --version - ispc --support-matrix - - name: Build run: | cd tests @@ -164,3 +158,40 @@ jobs: run: | cd tests bazelisk run --config=macos //square:main + + build_and_test_macos13: + name: macOS 13 Bazel build + runs-on: macOS-13 + + steps: + - uses: actions/checkout@v3 + + - name: Mount bazel cache + uses: actions/cache@v3 + with: + path: "/home/runner/.cache/bazel" + key: bazel + + - name: Print info + run: | + echo "OS info:" + sw_vers + uname + echo "Compiler info:" + clang --version + + - name: Ispc + run: | + brew install ispc + ispc --version + ispc --support-matrix + + - name: Build + run: | + cd tests + bazelisk build --config=macos //... + + - name: Run + run: | + cd tests + bazelisk run --config=macos //square:main