xenia-canary/.azure-pipelines.yml

45 lines
1.4 KiB
YAML
Raw Permalink Normal View History

2021-01-31 10:10:55 +00:00
trigger:
branches:
include: [ '*' ]
2022-02-03 11:16:53 +00:00
exclude: [ gh-pages, master, canary_base ]
2021-01-31 10:10:55 +00:00
paths:
exclude:
2022-02-03 11:16:53 +00:00
- '*.md'
- '.appveyor.yml'
2021-01-31 10:10:55 +00:00
- '.github/**'
2022-02-03 11:16:53 +00:00
- 'docs/**'
2021-01-31 10:10:55 +00:00
- 'LICENSE'
pr:
branches:
include: [ '*' ]
2022-02-03 11:16:53 +00:00
exclude: [ gh-pages, master, canary_base ]
2021-01-31 10:10:55 +00:00
paths:
exclude:
2022-02-03 11:16:53 +00:00
- '*.md'
- '.appveyor.yml'
2021-01-31 10:10:55 +00:00
- '.github/**'
2022-02-03 11:16:53 +00:00
- 'docs/**'
2021-01-31 10:10:55 +00:00
- '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