forked from xenia-canary/xenia-canary
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e0f0dc7
commit 4607ac1
Showing
45 changed files
with
3,466 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
version: 1.0.{build}-{branch} | ||
|
||
branches: | ||
except: [gh-pages, master, canary_base] | ||
|
||
skip_tags: true | ||
|
||
skip_commits: | ||
files: | ||
- '*.md' | ||
- '.azure-pipelines.yml' | ||
- '.drone.star' | ||
- '.github/**' | ||
- 'android/**' | ||
- 'docs/**' | ||
- 'src/**/*_posix.*' | ||
- 'src/**/*_linux.*' | ||
- 'src/**/*_gnulinux.*' | ||
- 'src/**/*_x11.*' | ||
- 'src/**/*_gtk.*' | ||
- 'src/**/*_android.*' | ||
- 'src/**/*_mac.*' | ||
- 'LICENSE' | ||
|
||
skip_branch_with_pr: true | ||
|
||
pull_requests: | ||
do_not_increment_build_number: true | ||
|
||
image: Visual Studio 2019 | ||
|
||
install: | ||
- xb setup | ||
|
||
build_script: | ||
- xb build --config=Release --target=src\xenia-app --target=src\xenia-vfs-dump | ||
|
||
after_build: | ||
- | | ||
7z a xenia_canary.zip ".\build\bin\Windows\Release\xenia_canary.exe" ".\build\bin\Windows\Release\xenia_canary.pdb" LICENSE | ||
7z a xenia-vfs-dump_canary.zip ".\build\bin\Windows\Release\xenia-vfs-dump.exe" ".\build\bin\Windows\Release\xenia-vfs-dump.pdb" LICENSE | ||
artifacts: | ||
- path: '*.zip' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
trigger: | ||
branches: | ||
include: [ '*' ] | ||
exclude: [ gh-pages, master, canary_base ] | ||
paths: | ||
exclude: | ||
- '*.md' | ||
- '.appveyor.yml' | ||
- '.github/**' | ||
- 'docs/**' | ||
- 'LICENSE' | ||
pr: | ||
branches: | ||
include: [ '*' ] | ||
exclude: [ gh-pages, master, canary_base ] | ||
paths: | ||
exclude: | ||
- '*.md' | ||
- '.appveyor.yml' | ||
- '.github/**' | ||
- 'docs/**' | ||
- 'LICENSE' | ||
|
||
pool: | ||
vmImage: windows-latest | ||
variables: | ||
POWERSHELL_TELEMETRY_OPTOUT: 1 | ||
steps: | ||
- pwsh: .\xb setup | ||
displayName: Setup | ||
- pwsh: .\xb build --target=src\xenia-app --target=src\xenia-vfs-dump | ||
displayName: Build | ||
- pwsh: |- | ||
robocopy . build\bin\Windows\Release LICENSE /r:0 /w:0 | ||
robocopy build\bin\Windows\Release $(Build.ArtifactStagingDirectory)\xenia_canary xenia_canary.exe xenia_canary.pdb LICENSE /r:0 /w:0 | ||
robocopy build\bin\Windows\Release $(Build.ArtifactStagingDirectory)\xenia-vfs-dump_canary xenia-vfs-dump.exe xenia-vfs-dump.pdb LICENSE /r:0 /w:0 | ||
If ($LastExitCode -le 7) { echo "LastExitCode = $LastExitCode";$LastExitCode = 0 } | ||
displayName: Prepare artifacts | ||
- publish: $(Build.ArtifactStagingDirectory)\xenia_canary | ||
artifact: xenia_canary | ||
displayName: Publish xenia_canary artifacts | ||
- publish: $(Build.ArtifactStagingDirectory)\xenia-vfs-dump_canary | ||
artifact: xenia-vfs-dump_canary | ||
displayName: Publish xenia-vfs-dump_canary artifacts |
Oops, something went wrong.