2016-06-04 17:30:50 +00:00
|
|
|
version: 1.0.{build}-{branch}
|
2015-12-31 01:10:19 +00:00
|
|
|
|
|
|
|
branches:
|
2018-11-18 19:50:26 +00:00
|
|
|
except:
|
|
|
|
- gh-pages
|
2015-12-31 01:10:19 +00:00
|
|
|
|
|
|
|
skip_tags: true
|
|
|
|
|
2017-12-17 06:12:19 +00:00
|
|
|
skip_commits:
|
|
|
|
files:
|
2021-09-23 09:57:47 +00:00
|
|
|
- .drone.star
|
2020-04-14 20:15:40 +00:00
|
|
|
- .github/**
|
2022-01-30 10:22:21 +00:00
|
|
|
- android/**
|
2020-04-14 20:15:40 +00:00
|
|
|
- docs/**
|
2020-02-22 23:32:36 +00:00
|
|
|
- src/**/*_posix.*
|
|
|
|
- src/**/*_linux.*
|
2022-01-30 10:22:21 +00:00
|
|
|
- src/**/*_gnulinux.*
|
2020-02-22 23:32:36 +00:00
|
|
|
- src/**/*_x11.*
|
|
|
|
- src/**/*_gtk.*
|
2022-01-30 10:22:21 +00:00
|
|
|
- src/**/*_android.*
|
|
|
|
- src/**/*_mac.*
|
2017-12-17 06:12:19 +00:00
|
|
|
- LICENSE
|
|
|
|
- README.md
|
2018-11-18 19:50:26 +00:00
|
|
|
|
|
|
|
skip_branch_with_pr: true
|
2017-12-17 06:12:19 +00:00
|
|
|
|
2017-12-06 00:11:59 +00:00
|
|
|
pull_requests:
|
|
|
|
do_not_increment_build_number: true
|
2015-12-31 01:10:19 +00:00
|
|
|
|
2022-01-29 18:15:34 +00:00
|
|
|
os: Visual Studio 2019
|
2015-12-31 01:10:19 +00:00
|
|
|
|
2022-01-24 09:52:38 +00:00
|
|
|
init:
|
|
|
|
- ps: |
|
|
|
|
If (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
|
|
|
|
$env:is_not_pr = "true"
|
|
|
|
}
|
2022-01-24 12:05:45 +00:00
|
|
|
If (-Not $env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED) {
|
2022-01-24 12:54:11 +00:00
|
|
|
$env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED = " "
|
2022-01-24 12:05:45 +00:00
|
|
|
}
|
2022-01-24 09:52:38 +00:00
|
|
|
|
2015-12-31 01:10:19 +00:00
|
|
|
install:
|
2021-12-15 12:45:29 +00:00
|
|
|
- |
|
|
|
|
vcpkg integrate remove
|
|
|
|
xb setup
|
2015-12-31 01:10:19 +00:00
|
|
|
|
2015-12-31 03:59:57 +00:00
|
|
|
platform: Windows
|
2015-12-31 01:10:19 +00:00
|
|
|
|
2021-12-15 12:45:29 +00:00
|
|
|
configuration: [Release, Checked]
|
2015-12-31 01:10:19 +00:00
|
|
|
|
2016-06-13 01:05:58 +00:00
|
|
|
build_script:
|
2021-12-15 12:45:29 +00:00
|
|
|
- xb build --config=%CONFIGURATION% --target=src\xenia-app --target=tests\xenia-base-tests --target=tests\xenia-cpu-ppc-tests --target=src\xenia-vfs-dump
|
2015-12-31 01:10:19 +00:00
|
|
|
|
2019-07-18 03:38:29 +00:00
|
|
|
after_build:
|
2021-12-15 12:45:29 +00:00
|
|
|
- |
|
2020-02-17 21:38:05 +00:00
|
|
|
IF NOT "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SUFFIX=%APPVEYOR_REPO_BRANCH%"
|
2020-02-17 22:03:06 +00:00
|
|
|
IF NOT "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SWITCHES=--"
|
2020-02-17 21:38:05 +00:00
|
|
|
IF "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SUFFIX=%APPVEYOR_REPO_BRANCH%_FOR-DEVS-ONLY"
|
2020-02-17 22:03:06 +00:00
|
|
|
IF "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SWITCHES="-pI know what I am doing." --"
|
|
|
|
7z a xenia_%ARCHIVE_SUFFIX%.zip %ARCHIVE_SWITCHES% LICENSE "%APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia.exe" "%APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia.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"
|
2015-12-31 01:10:19 +00:00
|
|
|
|
|
|
|
before_test:
|
2021-12-15 12:45:29 +00:00
|
|
|
- xb gentests
|
2015-12-31 01:10:19 +00:00
|
|
|
|
|
|
|
test_script:
|
2021-12-15 12:45:29 +00:00
|
|
|
- xb test --config=%CONFIGURATION% --no_build
|
2015-12-31 01:10:19 +00:00
|
|
|
|
|
|
|
artifacts:
|
2020-02-17 22:22:05 +00:00
|
|
|
- path: '*.zip'
|
2015-12-31 19:21:28 +00:00
|
|
|
- path: xenia-cpu-ppc-test.log
|
2015-12-31 01:10:19 +00:00
|
|
|
|
2015-12-31 19:21:28 +00:00
|
|
|
deploy:
|
|
|
|
- provider: Environment
|
2022-01-24 08:15:23 +00:00
|
|
|
name: xenia-master
|
2017-09-09 15:19:37 +00:00
|
|
|
release: xenia-$(appveyor_repo_branch)-v$(appveyor_build_version)
|
2020-02-17 22:22:05 +00:00
|
|
|
artifact: '*.zip'
|
2015-12-31 19:21:28 +00:00
|
|
|
draft: false
|
|
|
|
prerelease: true
|
|
|
|
on:
|
2019-07-18 03:38:29 +00:00
|
|
|
branch: master
|
|
|
|
configuration: release
|
|
|
|
appveyor_repo_tag: true
|
|
|
|
is_not_pr: true
|
2022-01-24 07:40:57 +00:00
|
|
|
- provider: GitHub
|
|
|
|
name: xenia-master
|
|
|
|
repository: xenia-project/release-builds-windows
|
|
|
|
auth_token:
|
|
|
|
secure: /8he47z1WnPN7LcCTe5T5KMxxX0SmqFj9QMpeWEa3aZ64kMsfupOT/jKakqTM8af
|
2022-01-24 12:05:45 +00:00
|
|
|
tag: v$(appveyor_build_version)
|
|
|
|
release: v$(appveyor_build_version)
|
2022-01-24 11:09:07 +00:00
|
|
|
description: |
|
2022-01-24 12:05:45 +00:00
|
|
|
Windows release build for https://github.com/xenia-project/xenia/commit/$(APPVEYOR_REPO_COMMIT).
|
2022-01-24 11:09:07 +00:00
|
|
|
|
|
|
|
$(APPVEYOR_REPO_COMMIT_MESSAGE)
|
2022-01-24 12:54:11 +00:00
|
|
|
|
2022-01-24 11:09:07 +00:00
|
|
|
$(APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED)
|
2022-01-24 07:40:57 +00:00
|
|
|
draft: false
|
|
|
|
prerelease: false
|
|
|
|
on:
|
|
|
|
branch: master
|
|
|
|
configuration: release
|
|
|
|
is_not_pr: true
|