-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split Travis validation across platforms
Cover both gcc and clang on Linux
- Loading branch information
1 parent
b17cc5d
commit 625e049
Showing
3 changed files
with
83 additions
and
8 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,38 @@ | ||
name: CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build_frozen: | ||
runs-on: macOS-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
cmake_args: | ||
- "" | ||
cxxstandard: | ||
- 14 | ||
- 17 | ||
- 2a | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Prepare | ||
run: cmake -E make_directory build | ||
|
||
- name: Configure | ||
working-directory: build | ||
env: | ||
CXXFLAGS: -std=c++${{matrix.cxxstandard}} | ||
run: cmake -DCMAKE_BUILD_TYPE=DEBUG "-Dfrozen.coverage=ON" -DCMAKE_VERBOSE_MAKEFILE=ON .. | ||
|
||
- name: Build | ||
working-directory: build | ||
run: cmake --build . | ||
|
||
- name: Test | ||
working-directory: build | ||
run: cmake --build . --target test |
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,38 @@ | ||
name: CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build_frozen: | ||
runs-on: windows-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
cmake_args: | ||
- "" | ||
cxxstandard: | ||
- 14 | ||
- 17 | ||
- 2a | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Prepare | ||
run: cmake -E make_directory build | ||
|
||
- name: Configure | ||
working-directory: build | ||
env: | ||
CXXFLAGS: /std:c++${{matrix.cxxstandard}} | ||
run: cmake -DCMAKE_BUILD_TYPE=DEBUG "-Dfrozen.coverage=ON" -DCMAKE_VERBOSE_MAKEFILE=ON .. | ||
|
||
- name: Build | ||
working-directory: build | ||
run: cmake --build . | ||
|
||
- name: Test | ||
working-directory: build | ||
run: cmake --build . --target test |