Skip to content

Windows

Windows #904

Workflow file for this run

name: Windows
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '37 3 * * 6'
jobs:
msvc:
runs-on: windows-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
shell: bash
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 --config Release --parallel
- name: Check
run: |
cd test/.bld
ctest --output-on-failure -j -V -C Release