Skip to content

CI: fix build failure in macOS CI #257

CI: fix build failure in macOS CI

CI: fix build failure in macOS CI #257

Workflow file for this run

---
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: which python3.12 && make distcheck CMAKE='cmake -DPython3_EXECUTABLE=/opt/homebrew/Frameworks/Python.framework/Versions/3.12/bin/python3'