-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (36 loc) · 970 Bytes
/
gcl-tests.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
name: gcl
on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
config: [Debug, Release]
asan: [ON, OFF]
tsan: [ON, OFF]
exclude:
- asan: ON
tsan: ON
- asan: ON
os: windows-latest
- tsan: ON
os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: checkout repo
uses: actions/checkout@v2
- name: use msvc
uses: ilammy/msvc-dev-cmd@v1
- name: run tests
run: |
cmake -DCMAKE_BUILD_TYPE=${{ matrix.config }} -Dgcl_build_tests=ON -Dgcl_enable_asan=${{ matrix.asan }} -Dgcl_enable_tsan=${{ matrix.tsan }} .
cmake --build . -j 4
ctest --verbose
- name: conan create
run: |
pip3 install conan==1.57.0
conan create . -s build_type=${{ matrix.config }}