42 lines
904 B
YAML
42 lines
904 B
YAML
# Documentation is here: https://www.appveyor.com/docs/appveyor-yml/
|
|
|
|
init:
|
|
- ps: Update-AppveyorBuild -Version "$env:appveyor_repo_commit"
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
image:
|
|
- Visual Studio 2017
|
|
|
|
configuration:
|
|
# The builds are run in this order
|
|
# Each configuration will compile all below platforms
|
|
- Release
|
|
- Debug
|
|
|
|
platform:
|
|
# Build the debugger and managed deps
|
|
# This must be done first!
|
|
- Any CPU
|
|
# Build native binaries
|
|
- Win32
|
|
|
|
build:
|
|
project: build/win32/Cxbx.sln
|
|
parallel: true
|
|
verbosity: minimal
|
|
|
|
after_build:
|
|
# Pass in the build configuration and current platform
|
|
# The packager script does not need to gather during the "Any CPU" stage and will early-out
|
|
- cmd: PackageBuild.bat %CONFIGURATION% "%PLATFORM%"
|
|
|
|
artifacts:
|
|
- path: export/*.zip
|
|
|
|
install:
|
|
# Git clone happens between init and install
|
|
- cmd: git submodule update --init --recursive
|