[AppVeyor] Cleanup
Remove unneeded init: As far as I can tell this is a leftover from the appveyor.yml Reference: https://www.appveyor.com/docs/appveyor-yml/ Cleanup command blocks: cmd is the default shell, so it doesn't have to be specified. Use proper multi-line syntax for install. Make configuration into one line: This reduces line count, but is mainly personal preference.
This commit is contained in:
parent
24d4e1e0e5
commit
6ea8e043f3
|
@ -25,24 +25,20 @@ pull_requests:
|
||||||
|
|
||||||
os: Visual Studio 2019
|
os: Visual Studio 2019
|
||||||
|
|
||||||
init:
|
|
||||||
- git config --global core.autocrlf input
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- cmd: vcpkg integrate remove
|
- |
|
||||||
- cmd: xb setup
|
vcpkg integrate remove
|
||||||
|
xb setup
|
||||||
|
|
||||||
platform: Windows
|
platform: Windows
|
||||||
|
|
||||||
configuration:
|
configuration: [Release, Checked]
|
||||||
- Release
|
|
||||||
- Checked
|
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cmd: xb build --config=%CONFIGURATION% --target=src\xenia-app --target=tests\xenia-base-tests --target=tests\xenia-cpu-ppc-tests --target=src\xenia-vfs-dump
|
- xb build --config=%CONFIGURATION% --target=src\xenia-app --target=tests\xenia-base-tests --target=tests\xenia-cpu-ppc-tests --target=src\xenia-vfs-dump
|
||||||
|
|
||||||
after_build:
|
after_build:
|
||||||
- cmd: |
|
- |
|
||||||
IF NOT "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SUFFIX=%APPVEYOR_REPO_BRANCH%"
|
IF NOT "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SUFFIX=%APPVEYOR_REPO_BRANCH%"
|
||||||
IF NOT "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SWITCHES=--"
|
IF NOT "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SWITCHES=--"
|
||||||
IF "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SUFFIX=%APPVEYOR_REPO_BRANCH%_FOR-DEVS-ONLY"
|
IF "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SUFFIX=%APPVEYOR_REPO_BRANCH%_FOR-DEVS-ONLY"
|
||||||
|
@ -51,10 +47,10 @@ after_build:
|
||||||
7z a xenia-vfs-dump_%ARCHIVE_SUFFIX%.zip %ARCHIVE_SWITCHES% LICENSE "%APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia-vfs-dump.exe" "%APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia-vfs-dump.pdb"
|
7z a xenia-vfs-dump_%ARCHIVE_SUFFIX%.zip %ARCHIVE_SWITCHES% LICENSE "%APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia-vfs-dump.exe" "%APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia-vfs-dump.pdb"
|
||||||
|
|
||||||
before_test:
|
before_test:
|
||||||
- cmd: xb gentests
|
- xb gentests
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- cmd: xb test --config=%CONFIGURATION% --no_build
|
- xb test --config=%CONFIGURATION% --no_build
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: '*.zip'
|
- path: '*.zip'
|
||||||
|
|
Loading…
Reference in New Issue