1
0
mirror of https://github.com/wqking/eventpp.git synced 2024-12-26 15:52:40 +08:00

24 lines
608 B
YAML
Raw Normal View History

name: CI
on: [push, pull_request]
jobs:
Test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
2020-07-30 19:51:13 +08:00
os: [windows-latest, ubuntu-latest, macos-latest]
build-type: [Release]
steps:
- uses: actions/checkout@v2
- name: Configure
run: |
mkdir -p build
cmake -DCMAKE_BUILD_TYPE="${{ matrix.build-type }}" -B build -S tests
- name: Build Tests
run: cmake --build build --config "${{ matrix.build-type }}" -j
- name: Run unit tests
run: cd build && ctest --build-config "${{ matrix.build-type }}" --progress --verbose