Skip to content

Commit

Permalink
Trim down Appveyor config
Browse files Browse the repository at this point in the history
  • Loading branch information
PJK committed Dec 27, 2022
1 parent 0ebb08c commit 4fbcba3
Showing 1 changed file with 9 additions and 40 deletions.
49 changes: 9 additions & 40 deletions appveyor.yml
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

0 comments on commit 4fbcba3

Please sign in to comment.