Skip to content

macOS

macOS #883

Workflow file for this run

name: macOS
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '37 3 * * 6'
jobs:
xcode:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Checkout Boost
uses: actions/checkout@v4
with:
repository: boostorg/boost
ref: boost-1.85.0
path: .dep/boost
- name: Setup Boost
run: |
cd .dep/boost
git submodule update --init tools/build
git submodule update --init tools/boostdep
git submodule update --init libs/config
git submodule update --init libs/container
python tools/boostdep/depinst/depinst.py container
git submodule update --init libs/dynamic_bitset
python tools/boostdep/depinst/depinst.py dynamic_bitset
./bootstrap.sh
./b2 headers
- name: Configure
run: |
cd test
cmake -S . -B .bld -D CMAKE_BUILD_TYPE=Release -D CMAKE_CXX_STANDARD=20 -D CMAKE_CXX_FLAGS="-I ../../.dep/boost"
- name: Build
run: |
cd test
cmake --build .bld --parallel
- name: Check
run: |
cd test/.bld
ctest --output-on-failure -j -V -C Release