File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -417,6 +417,48 @@ jobs:
417417 - name : Run CTest
418418 run : cd build; ctest -V -L CORE . -j3
419419
420+ check-macos-12-cmake-clang :
421+ runs-on : macos-12
422+ steps :
423+ - uses : actions/checkout@v2
424+ with :
425+ submodules : recursive
426+ - name : Fetch dependencies
427+ run : brew install cmake ninja maven flex bison ccache z3
428+ - name : Confirm z3 solver is available and log the version installed
429+ run : z3 --version
430+ - name : Download cvc5 binary and make sure it can be deployed
431+ run : |
432+ curl -L https://github.com/cvc5/cvc5/releases/download/cvc5-${{env.cvc5-version}}/cvc5-macOS --output cvc5
433+ chmod u+x cvc5
434+ mv cvc5 /usr/local/bin
435+ cvc5 --version
436+ - name : Prepare ccache
437+ uses : actions/cache@v2
438+ with :
439+ path : .ccache
440+ key : ${{ runner.os }}-Release-${{ github.ref }}-${{ github.sha }}-PR
441+ restore-keys : |
442+ ${{ runner.os }}-Release-${{ github.ref }}
443+ ${{ runner.os }}-Release
444+ - name : ccache environment
445+ run : |
446+ echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
447+ echo "CCACHE_DIR=$PWD/.ccache" >> $GITHUB_ENV
448+ - name : Zero ccache stats and limit in size
449+ run : ccache -z --max-size=500M
450+ - name : Configure using CMake
451+ run : |
452+ mkdir build
453+ cd build
454+ cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -Dsat_impl=glucose
455+ - name : Build with Ninja
456+ run : cd build; ninja -j3
457+ - name : Print ccache stats
458+ run : ccache -s
459+ - name : Run CTest
460+ run : cd build; ctest -V -L CORE . -j3
461+
420462 check-vs-2019-cmake-build-and-test :
421463 runs-on : windows-2019
422464 env :
You can’t perform that action at this time.
0 commit comments