-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate from AppVeyor to GitHub actions. (#39)
* Fix the Qt build. * Add a GitHub workflow. * Update build steps. * Set up VS paths. * Get rid of call. * Don't specify generator. * Fix source directory. * Refactor build. * Update build parallelism. * Add a build matrix. * Fix matrix variable name. * Fix matrix variable prefix. * Play around with line wrapping. * Play around with line wrapping. * Finally understand line wrapping? * Rename Windows build. * Rename workflow file. * Fix VS2015 build. * Add VS2017 build. * Delete appveyor.yml.
- Loading branch information
Showing
4 changed files
with
81 additions
and
91 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: VS2017 | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
env: | ||
CTEST_OUTPUT_ON_FAILURE: 1 | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-2016 | ||
|
||
strategy: | ||
matrix: | ||
config: [Debug, Release] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Configure | ||
run: | | ||
cmake -Bbuild -DCMAKE_BUILD_TYPE=${{matrix.config}} . | ||
- name: Build tests | ||
run: > | ||
cmake --build build --config ${{matrix.config}} | ||
--target unit_test_runner -j4 | ||
cmake --build build --config ${{matrix.config}} | ||
--target single_header_tester | ||
- name: Test | ||
run: | | ||
cmake --build build --config ${{matrix.config}} --target ctest |
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,40 @@ | ||
name: VS2019 | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
env: | ||
CTEST_OUTPUT_ON_FAILURE: 1 | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-2019 | ||
|
||
strategy: | ||
matrix: | ||
config: [Debug, Release] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Configure | ||
run: | | ||
cmake -Bbuild -DCMAKE_BUILD_TYPE=${{matrix.config}} . | ||
- name: Build tests | ||
run: > | ||
cmake --build build --config ${{matrix.config}} | ||
--target unit_test_runner -j4 | ||
cmake --build build --config ${{matrix.config}} | ||
--target single_header_tester | ||
- name: Test | ||
run: | | ||
cmake --build build --config ${{matrix.config}} --target ctest |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
struct my_exception | ||
{ | ||
int x = 0; | ||
int x; | ||
}; | ||
|
||
TEST_CASE("try_catch", "[flow][try_catch]") | ||
|