mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-07 10:26:04 +08:00
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
#---------------------------------#
|
|
# environment configuration #
|
|
#---------------------------------#
|
|
|
|
image: Visual Studio 2022
|
|
|
|
init:
|
|
- git config --global core.autocrlf true
|
|
|
|
#---------------------------------#
|
|
# build configuration #
|
|
#---------------------------------#
|
|
|
|
platform:
|
|
- x64
|
|
|
|
configuration: Release
|
|
|
|
build:
|
|
project: vs\dosbox-x.sln
|
|
|
|
after_build:
|
|
- ps : >-
|
|
$shortHash = $env:APPVEYOR_REPO_COMMIT.Substring(0, 7);
|
|
7z a dosbox-x-windows-$shortHash.zip C:\projects\dosbox-x\vs\..\bin\x64\Release\changelog.txt;
|
|
7z a dosbox-x-windows-$shortHash.zip C:\projects\dosbox-x\vs\..\bin\x64\Release\dosbox-x.reference.conf;
|
|
7z a dosbox-x-windows-$shortHash.zip C:\projects\dosbox-x\vs\..\bin\x64\Release\dosbox-x.exe;
|
|
7z a dosbox-x-windows-$shortHash.zip C:\projects\dosbox-x\vs\..\bin\x64\Release\FREECG98.BMP;
|
|
|
|
#---------------------------------#
|
|
# artifacts configuration #
|
|
#---------------------------------#
|
|
|
|
artifacts:
|
|
- path: dosbox-x-windows-*.zip
|
|
name: DOSBox-X Windows Build
|