mirror of
https://github.com/pantor/inja.git
synced 2026-04-18 22:09:26 +00:00
github ci windows, mac
This commit is contained in:
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@@ -2,9 +2,15 @@ name: C++ CI
|
||||
|
||||
on: push
|
||||
|
||||
env:
|
||||
BUILD_TYPE: Release
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [windows-latest, ubuntu-latest, macOS-latest]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
@@ -17,8 +23,8 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir -p build && cd build
|
||||
cmake ..
|
||||
cmake --build . --config Release -- -j4
|
||||
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
|
||||
cmake --build . --config $BUILD_TYPE -j4
|
||||
|
||||
- name: Test
|
||||
run: ctest -C Release -V
|
||||
run: ctest -C $BUILD_TYPE -V
|
||||
|
||||
Reference in New Issue
Block a user