Files
CPM.cmake/.github/workflows/test.yml
2022-01-12 08:17:58 +02:00

31 lines
577 B
YAML

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
- name: integration tests
run: ruby test/integration/runner.rb
env:
CPM_INTEGRATION_TEST_DIR: ./build/integration