Unified GitHub workflow for tests on major operating systems (#326)

This commit is contained in:
Borislav Stanimirov
2022-01-11 22:16:04 +02:00
committed by GitHub
parent 7cbef3efc8
commit 262f1e0602
4 changed files with 25 additions and 73 deletions

25
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: clone
uses: actions/checkout@v2
- name: unit tests
run: |
cmake -Htest -Bbuild/test
cmake --build build/test --target test-verbose