-
Notifications
You must be signed in to change notification settings - Fork 94
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
Showing
1 changed file
with
9 additions
and
40 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 |
---|---|---|
@@ -1,45 +1,14 @@ | ||
# Fast single-config build for PRs | ||
- | ||
branches: | ||
except: [master] | ||
|
||
image: Visual Studio 2022 | ||
version: '{build}' | ||
image: Visual Studio 2022 | ||
version: '{build}' | ||
platform: x64 | ||
|
||
platform: x64 | ||
skip_branch_with_pr: true | ||
|
||
# Do not build feature branch with open Pull Requests | ||
# The build is redundant and gets queued behind the other one. | ||
skip_branch_with_pr: true | ||
before_build: | ||
- cmake -H. -Bbuild | ||
|
||
before_build: | ||
- cmake -H. -Bbuild | ||
|
||
build_script: | ||
- if "%APPVEYOR_REPO_TAG%"=="true" (set CONFIGURATION=RelWithDebInfo) else (set CONFIGURATION=Debug) | ||
- cmake --build build --config "%CONFIGURATION%" | ||
|
||
- | ||
branches: | ||
only: [master] | ||
|
||
image: | ||
- Visual Studio 2015 | ||
- Visual Studio 2022 | ||
version: '{build}' | ||
|
||
platform: | ||
- x64 | ||
- x86 | ||
|
||
skip_branch_with_pr: true | ||
|
||
before_build: | ||
- cmake -H. -Bbuild | ||
|
||
build_script: | ||
- if "%APPVEYOR_REPO_TAG%"=="true" (set CONFIGURATION=RelWithDebInfo) else (set CONFIGURATION=Debug) | ||
- cmake --build build --config "%CONFIGURATION%" | ||
build_script: | ||
- if "%APPVEYOR_REPO_TAG%"=="true" (set CONFIGURATION=RelWithDebInfo) else (set CONFIGURATION=Debug) | ||
- cmake --build build --config "%CONFIGURATION%" | ||
|
||
# TODO enable CMocka tests, maybe package the binaries | ||
# TODO add MinGW |