mirror of
https://github.com/XLabsProject/iw6x-client.git
synced 2023-08-02 15:02:12 +02:00
49 lines
965 B
YAML
49 lines
965 B
YAML
# AppVeyor CI configuration
|
|
|
|
version: "#{build} ({branch})"
|
|
|
|
environment:
|
|
matrix:
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
PREMAKE_ACTION: vs2019
|
|
CI: 1
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- develop
|
|
|
|
skip_branch_with_pr: true
|
|
|
|
# Doesn't work :(
|
|
#cache:
|
|
# - build
|
|
|
|
configuration:
|
|
- Debug
|
|
- Release
|
|
|
|
platform: x64
|
|
|
|
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/iw6x.sln
|
|
parallel: true
|
|
verbosity: minimal
|
|
|
|
artifacts:
|
|
- path: build/version.txt
|
|
- path: build/bin/**/iw6x.exe
|
|
|
|
# - path: build/bin/**/*.exe
|
|
# - path: build/bin/**/*.pdb
|