mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-17 22:58:14 -05:00
Unified GitHub workflow for tests on major operating systems (#326)
This commit is contained in:
committed by
GitHub
parent
7cbef3efc8
commit
262f1e0602
25
.github/workflows/test.yml
vendored
Normal file
25
.github/workflows/test.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user