forked from boostorg/python
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 951 Bytes
/
test-windows.yml
File metadata and controls
37 lines (33 loc) · 951 Bytes
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
name: Test Windows
on: [ push, pull_request ]
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python: [python3]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: setup boost prerequisites
uses: lukka/run-vcpkg@v6
with:
vcpkgArguments: boost:x64-windows
vcpkgGitCommitId: '8a9a97315aefb3f8bc5d81bf66ca0025938b9c91'
- name: setup faber
shell: 'bash'
run: |
python -m pip install --upgrade pip
python -m pip install setuptools faber
- name: build
shell: cmd
#sed -e "s/\$PYTHON/python/g" .ci/faber > ~/.faber
run: |
faber --info=tools cxx
faber --builddir=build cxx.name=msvc --with-boost-includes=C:\Tools\vcpkg\installed\x64-windows\include
- name: test
shell: cmd
#cxx.name=msvc \
run: |
faber --builddir=build test.report