mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 14:25:37 +00:00
Merge pull request #1315 from Margen67/appveyor
appveyor.yml improvements
This commit is contained in:
commit
77093553e1
38
appveyor.yml
38
appveyor.yml
|
@ -2,30 +2,34 @@ version: 1.0.{build}
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- dev
|
- dev
|
||||||
|
|
||||||
skip_tags: true
|
skip_tags: true
|
||||||
|
|
||||||
image:
|
skip_commits:
|
||||||
- Visual Studio 2019
|
files:
|
||||||
|
- '.github/**'
|
||||||
|
- '**.md'
|
||||||
|
- 'scripts/*'
|
||||||
|
|
||||||
|
image: Visual Studio 2019
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- cmd: >-
|
- git submodule update --init --depth 1
|
||||||
git submodule update --init --depth 1
|
|
||||||
|
|
||||||
build_script:
|
platform: x64
|
||||||
- cmd: >-
|
|
||||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
|
|
||||||
|
|
||||||
msbuild duckstation.sln -t:Build -p:Platform=x64;Configuration=ReleaseLTCG
|
configuration: ReleaseLTCG
|
||||||
|
|
||||||
rm -f bin/x64/*.pdb bin/x64/*.exp bin/x64/*.lib bin/x64/*.iobj bin/x64/*.ipdb
|
build:
|
||||||
|
parallel: true
|
||||||
rm -f bin/x64/common-tests*
|
project: duckstation.sln
|
||||||
|
|
||||||
cp -a data/* bin/x64
|
|
||||||
|
|
||||||
"C:\Program Files\7-Zip\7z.exe" a -r duckstation-win64-release.7z ./bin/x64/*
|
|
||||||
|
|
||||||
appveyor PushArtifact duckstation-win64-release.7z
|
|
||||||
|
|
||||||
|
after_build:
|
||||||
|
- |-
|
||||||
|
7z a duckstation-windows-x64-release.zip .\bin\x64\* -r "-xr!*.pdb" "-xr!common-tests*"
|
||||||
|
7z rn duckstation-windows-x64-release.zip updater-x64-ReleaseLTCG.exe updater.exe
|
||||||
|
|
||||||
test: off
|
test: off
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
- path: duckstation-windows-x64-release.zip
|
||||||
|
|
Loading…
Reference in a new issue