Skip to content

Commit

Permalink
Change build-and-test-macos from AppleClang15 to llvm Clang13
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhuoyu5 authored and JackyWoo committed Mar 29, 2024
1 parent 142a743 commit 884a2ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ jobs:
submodules: recursive

- name: Install tools
run: brew install ninja ccache
run: brew install ninja ccache cmake llvm@13

- name: Generate Makefile
run: export CC=`which clang` CXX=`which clang++` && cmake -G Ninja -B ./build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
run: export CC=$(brew --prefix llvm@13)/bin/clang CXX=$(brew --prefix llvm@13)/bin/clang++ && cmake -G Ninja -B ./build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
working-directory: ${{github.workspace}}/build
Expand Down

0 comments on commit 884a2ed

Please sign in to comment.