Skip to content

fixed macos-clang github action to use AppleClang v15 #60

fixed macos-clang github action to use AppleClang v15

fixed macos-clang github action to use AppleClang v15 #60

name: test-macos-clang
on:
push:
branches: [ stable, develop ]
jobs:
build:
runs-on: macos-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: install_deps
run: |
brew install eigen
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
with:
version: 15
- name: run_tests
run: |
cd test/
chmod +x run_tests.sh
./run_tests.sh --compiler clang
echo "TEST_RESULT=$(echo $?)" >> $GITHUB_ENV
- name: check_tests_passed
run: |
if [ "$TEST_RESULT" -eq "0" ]; then
exit 0
else
exit 1
fi