Skip to content

Fixed include error on mac #5

Fixed include error on mac

Fixed include error on mac #5

Workflow file for this run

name: macOS
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
env:
CPM_SOURCE_CACHE: ${{ github.workspace }}/.cpm_cache
jobs:
build-and-test:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Ninja
run: brew install ninja
- name: Cache CPM packages
uses: actions/cache@v4
with:
path: ${{ env.CPM_SOURCE_CACHE }}
key: ${{ runner.os }}-cpm-${{ hashFiles('CMakeLists.txt', 'cmake/Testing.cmake') }}
restore-keys: |
${{ runner.os }}-cpm-
- name: Build and test (build.py)
run: python build.py --build -pl Ninja -c Release