forked from joncampbell123/dosbox-x
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
36 lines (27 loc) · 1.05 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#---------------------------------#
# 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