2021-09-06 19:20:58 -04:00
|
|
|
# AppVeyor CI configuration
|
|
|
|
|
|
|
|
version: "#{build} ({branch})"
|
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
2022-02-17 14:24:28 -05:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
|
|
|
PREMAKE_ACTION: vs2022
|
2021-09-06 19:20:58 -04:00
|
|
|
CI: 1
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
2022-01-30 13:46:29 -05:00
|
|
|
- develop
|
2021-09-06 19:37:18 -04:00
|
|
|
- main
|
2021-09-06 19:20:58 -04:00
|
|
|
|
|
|
|
skip_branch_with_pr: true
|
|
|
|
|
|
|
|
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/h2-mod.sln
|
|
|
|
parallel: true
|
|
|
|
verbosity: minimal
|
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: build/version.txt
|
2021-09-06 19:37:18 -04:00
|
|
|
- path: build/bin/**/h2-mod.exe
|