-
-
Notifications
You must be signed in to change notification settings - Fork 1k
47 lines (38 loc) · 1.06 KB
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Windows
on:
push:
branches: [ RC_1_2 RC_2_0 master ]
pull_request:
defaults:
run:
shell: cmd
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
tests:
name: Test
runs-on: windows-latest
continue-on-error: true
steps:
- name: checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: install boost
run: |
git clone --depth=1 --recurse-submodules -j10 --branch=boost-1.78.0 https://github.com/boostorg/boost.git
cd boost
bootstrap.bat
- name: boost headers
run: |
cd boost
.\b2 headers
- name: tests
run: |
set BOOST_ROOT=%CD%\boost
set BOOST_BUILD_PATH=%BOOST_ROOT%\tools\build
set PATH=%BOOST_ROOT%;%PATH%
set PYTHON_INTERPRETER=python
cd test
b2 -l400 debug-iterators=on invariant-checks=full asserts=on cxxstd=11 warnings=all warnings-as-errors=on