CI: use Python 3.12 on macOS #260
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 CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
macos: | |
name: macOS ${{ matrix.version }} (${{ matrix.compiler }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
compiler: [clang++] | |
version: [latest] | |
runs-on: macos-${{ matrix.version }} | |
env: | |
CXX: ${{ matrix.compiler }} | |
CXXFLAGS: -Werror | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
brew update | |
brew install boost boost-python3 help2man | |
- name: Build and check | |
run: make distcheck CMAKE='cmake -DPython3_EXECUTABLE=/opt/homebrew/bin/python3.12' |