diff options
| author | Margen67 <Margen67@users.noreply.github.com> | 2021-12-15 04:45:29 -0800 |
|---|---|---|
| committer | Rick Gibbed <rick@gibbed.us> | 2022-01-04 16:18:28 -0600 |
| commit | 6ea8e043f3aee4de819231659bc86ad399baf5f7 (patch) | |
| tree | 9c99543ab7eef7031f50ee35d49445018c973a97 /.appveyor.yml | |
| parent | 24d4e1e0e55333cc4561bb39bd306f7a21af0506 (diff) | |
[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.
Diffstat (limited to '.appveyor.yml')
| -rw-r--r-- | .appveyor.yml | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index ad7a5db18..429e0e6ce 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -25,24 +25,20 @@ pull_requests: os: Visual Studio 2019 -init: - - git config --global core.autocrlf input - install: - - cmd: vcpkg integrate remove - - cmd: xb setup + - | + vcpkg integrate remove + xb setup platform: Windows -configuration: - - Release - - Checked +configuration: [Release, Checked] 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: - - cmd: | + - | IF NOT "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SUFFIX=%APPVEYOR_REPO_BRANCH%" IF NOT "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SWITCHES=--" 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" before_test: - - cmd: xb gentests + - xb gentests test_script: - - cmd: xb test --config=%CONFIGURATION% --no_build + - xb test --config=%CONFIGURATION% --no_build artifacts: - path: '*.zip' |
