-
Notifications
You must be signed in to change notification settings - Fork 140
40 lines (36 loc) · 1 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
name: Windows CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
os: [ windows-2019 ]
toolset: [ v142, ClangCL ]
include:
- os: windows-2019
env: "Visual Studio 16 2019"
name: ${{matrix.os}} with ${{matrix.env}} and ${{matrix.toolset}} toolset
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Create build directory
run: cmake -E make_directory ${{github.workspace}}\build
- name: Run CMake
run: cmake ${{github.workspace}} -G "${{matrix.env}}" -A x64 -T ${{matrix.toolset}} -DMOCKTURTLE_TEST=ON
working-directory: ${{github.workspace}}\build
- name: Build mockturtle
run: cmake --build . -j2
working-directory: ${{github.workspace}}\build
shell: cmd
- name: Run tests
run: |
cd build
.\test\Debug\run_tests "~[quality]"