2019-09-18 07:46:56 -04:00
|
|
|
# AppVeyor CI configuration
|
|
|
|
|
2019-10-02 04:55:04 -04:00
|
|
|
version: "#{build} ({branch})"
|
|
|
|
|
2019-09-18 07:46:56 -04:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
|
|
PREMAKE_ACTION: vs2019
|
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Debug
|
|
|
|
- Release
|
|
|
|
|
|
|
|
platform: Win32
|
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: |
|
|
|
|
Write-Host "Updating version information..." -ForegroundColor Cyan
|
|
|
|
|
|
|
|
Update-AppveyorBuild -Version $(& tools/premake5.exe version | select -Last 1)
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
- ps: |
|
|
|
|
Write-Host "Generating project files with premake..." -ForegroundColor Cyan
|
|
|
|
& "./tools/premake5.exe" $env:PREMAKE_ACTION
|
|
|
|
Write-Host "Generated" -ForegroundColor Green
|
|
|
|
|
|
|
|
build:
|
|
|
|
project: build/iw4x.sln
|
|
|
|
parallel: true
|
|
|
|
verbosity: minimal
|
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: build/bin/**/*.dll
|
|
|
|
- path: build/bin/**/*.pdb
|