feat: Add Python 3.11 support to macOS workflow #210
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macOS | |
on: [push, pull_request, workflow_dispatch] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: true | |
- name: Setup | |
run: | | |
brew install automake autoconf autoconf-archive libtool texinfo yasm ninja python ccache pkg-config | |
brew link --overwrite [email protected] | |
- name: Restore artifacts or setup vcpkg | |
uses: lukka/run-vcpkg@v11 | |
with: | |
vcpkgGitCommitId: 23ceb9cbf9b6d32f485cf039547b70102a6ef9d8 | |
- name: Configure | |
run: cmake --preset=build | |
- name: Build | |
run: cmake --build build -j 2 | |
- name: Test | |
working-directory: build | |
continue-on-error: true | |
run: ctest --rerun-failed --output-on-failure -j 2 |