Skip to content

Commit

Permalink
Add macOS 13 CI build job
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 3e56f3da60b852ff1a55aa29d5b542eec5289939
  • Loading branch information
Vertexwahn committed Jul 31, 2023
1 parent ad8d5f8 commit 2f6af1c
Showing 1 changed file with 39 additions and 8 deletions.
47 changes: 39 additions & 8 deletions .github/workflows/bazel_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
build_and_test_ubuntu20:
name: Linux Ubuntu 20.04 build <GCC 9.3.0>
name: Linux Ubuntu 20.04 build <GCC 9.4.0>
runs-on: ubuntu-20.04

steps:
Expand All @@ -29,7 +29,7 @@ jobs:
bazelisk run --config=gcc9 //square:main
build_and_test_ubuntu22:
name: Linux Ubuntu 22.04 build <GCC 11.2.0>
name: Linux Ubuntu 22.04 build <GCC 11.3.0>
runs-on: ubuntu-22.04

steps:
Expand Down Expand Up @@ -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
Expand All @@ -164,3 +158,40 @@ jobs:
run: |
cd tests
bazelisk run --config=macos //square:main
build_and_test_macos13:
name: macOS 13 Bazel build <Apple Clang14>
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

0 comments on commit 2f6af1c

Please sign in to comment.