Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Robert Ramirez
committed
Aug 12, 2021
1 parent
a00d125
commit 988e37f
Showing
5 changed files
with
86 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
name: Build and test | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-latest, windows-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: '0' | ||
|
||
- name: Configure macOS | ||
if: matrix.os == 'macos-latest' | ||
run: mkdir build && cd build && cmake -G Xcode .. | ||
|
||
- name: Configure Windows | ||
if: matrix.os == 'windows-latest' | ||
run: mkdir build && cd build && cmake .. | ||
|
||
- name: Build Debug | ||
run: cmake --build build --config 'Debug' | ||
|
||
- name: Test Debug | ||
run: cd build && ctest -C 'Debug' . -V | ||
|
||
- name: Build Release | ||
run: cmake --build build --config 'Release' | ||
|
||
- name: Test Release | ||
run: cd build && ctest -C 'Release' . -V |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule min-api
updated
47 files