Merge pull request #1696 from Margen67/appveyor-fixups

[.appveyor.yml] Add - back, re-seperate 7z archiving commands
This commit is contained in:
RadWolfie 2019-08-22 13:00:04 -05:00 committed by GitHub
commit 0f14ed0aec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -18,7 +18,7 @@ configuration:
- Debug - Debug
before_build: before_build:
- cmd: | - cmd: |-
git submodule update --init --recursive git submodule update --init --recursive
mkdir build mkdir build
cd build cd build
@ -28,9 +28,11 @@ build_script:
- cmd: cmake --build . --config %configuration% - cmd: cmake --build . --config %configuration%
on_success: on_success:
- ps: | - ps: |-
If ($env:configuration -eq 'Release') { If ($env:configuration -eq 'Release') {
cd "bin\${env:configuration}" cd "bin\${env:configuration}"
7z a "${env:configuration}.zip" ..\..\..\COPYING ..\..\..\README.md Cxbx.exe glew32.dll subhook.dll CxbxVSBC.dll cxbxr-debugger.exe capstone.dll cs_x86.dll 7z u "${env:configuration}.zip" ..\..\..\COPYING ..\..\..\README.md
7z u "${env:configuration}.zip" Cxbx.exe glew32.dll subhook.dll CxbxVSBC.dll
7z u "${env:configuration}.zip" cxbxr-debugger.exe capstone.dll cs_x86.dll
Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name } Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
} }