33 lines
876 B
YAML
33 lines
876 B
YAML
version: 1.0.{build}
|
|
image: Visual Studio 2022
|
|
platform:
|
|
- x64
|
|
configuration:
|
|
- Release
|
|
|
|
cache:
|
|
- VulkanSDK.exe
|
|
|
|
install:
|
|
- if not exist VulkanSDK.exe curl -L --silent --show-error --output VulkanSDK.exe https://sdk.lunarg.com/sdk/download/1.3.268.0/windows/VulkanSDK-1.3.268.0-Installer.exe
|
|
- VulkanSDK.exe --accept-licenses --default-answer --confirm-command install
|
|
- set PATH=C:/VulkanSDK/1.3.268.0/Bin;%PATH%
|
|
|
|
before_build:
|
|
- ps: >-
|
|
If ($env:APPVEYOR_BUILD_VERSION -Like "1.0*") {
|
|
$version = src/script/set_git_properties.cmd
|
|
appveyor UpdateBuild -Version $version
|
|
}
|
|
- cmd: git submodule update --init --recursive
|
|
build:
|
|
project: nxemu.sln
|
|
parallel: true
|
|
verbosity: minimal
|
|
maximum_number_of_processors: 4
|
|
after_build:
|
|
- src/script/package_zip.cmd %APPVEYOR_BUILD_VERSION%-%platform%.zip %platform%
|
|
|
|
artifacts:
|
|
- path: package/*.zip
|