name: macos-apple-clang-ci on: workflow_dispatch: push: branches: - master - feature/** - improvement/** - bugfix/** pull_request: branches: - master - feature/** - improvement/** - bugfix/** jobs: clang_tests: if: >- ! contains(toJSON(github.event.commits.*.message), '[skip ci]') && ! contains(toJSON(github.event.commits.*.message), '[skip github]') strategy: matrix: xcode: ['13.4.1', '14.1'] type: [Release, Debug] runs-on: macos-12 env: DEVELOPER_DIR: /Applications/Xcode_${{matrix.xcode}}.app/Contents/Developer name: "Xcode ${{matrix.xcode}}: ${{matrix.type}}" steps: - uses: actions/checkout@v3 - uses: friendlyanon/fetch-core-count@v1 id: cores - name: Install dependencies run: script/ci_install_deps.sh - name: Configure run: cmake -S test -B build -DCMAKE_BUILD_TYPE=${{matrix.type}} - name: Build run: cmake --build build -j ${{steps.cores.outputs.count}} - name: Run working-directory: build run: ctest --output-on-failure