Skip to content

gcl

gcl #183

Workflow file for this run

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 }}