2019-08-26 17:18:16 +00:00
|
|
|
trigger:
|
|
|
|
branches:
|
|
|
|
include:
|
2020-01-26 00:13:12 +00:00
|
|
|
- '*'
|
2019-08-26 17:18:16 +00:00
|
|
|
exclude:
|
|
|
|
- gh-pages
|
2019-11-25 10:48:30 +00:00
|
|
|
- master
|
2019-08-26 17:18:16 +00:00
|
|
|
paths:
|
|
|
|
exclude:
|
2020-02-05 12:42:44 +00:00
|
|
|
- docs/*
|
|
|
|
- docs/*/*
|
|
|
|
- .github/*
|
|
|
|
- .github/*/*
|
2019-08-26 17:18:16 +00:00
|
|
|
- LICENSE
|
|
|
|
- README.md
|
|
|
|
- .appveyor.yml
|
|
|
|
- .travis.yml
|
|
|
|
pr:
|
|
|
|
branches:
|
|
|
|
include:
|
2020-01-26 00:13:12 +00:00
|
|
|
- '*'
|
2019-08-26 17:18:16 +00:00
|
|
|
exclude:
|
|
|
|
- gh-pages
|
2019-11-25 10:48:30 +00:00
|
|
|
- master
|
2019-08-26 17:18:16 +00:00
|
|
|
paths:
|
|
|
|
exclude:
|
2020-02-05 12:42:44 +00:00
|
|
|
- docs/*
|
|
|
|
- docs/*/*
|
|
|
|
- .github/*
|
|
|
|
- .github/*/*
|
2019-08-26 17:18:16 +00:00
|
|
|
- LICENSE
|
|
|
|
- README.md
|
|
|
|
- .appveyor.yml
|
|
|
|
- .travis.yml
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
- job:
|
|
|
|
pool:
|
2019-09-13 16:00:12 +00:00
|
|
|
vmImage: windows-latest
|
2019-08-26 17:18:16 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2019-10-20 20:51:32 +00:00
|
|
|
AVX:
|
|
|
|
cpu_arch: AVX
|
|
|
|
AVX2:
|
|
|
|
cpu_arch: AVX2
|
2020-01-26 05:09:21 +00:00
|
|
|
AVX512:
|
|
|
|
cpu_arch: AVX512
|
2019-08-26 17:18:16 +00:00
|
|
|
steps:
|
2020-01-26 05:09:21 +00:00
|
|
|
- script: wmic cpu get caption, deviceid, name, numberofcores, maxclockspeed, status
|
|
|
|
displayName: 'CPU info'
|
|
|
|
|
2019-10-20 20:51:32 +00:00
|
|
|
- script: xb setup
|
2019-08-26 17:18:16 +00:00
|
|
|
displayName: 'Setup'
|
|
|
|
|
2020-01-16 16:49:35 +00:00
|
|
|
- script: xb build --cpu_arch=$(cpu_arch) --target=src\xenia-app --target=src\xenia-vfs-dump
|
2019-10-20 20:51:32 +00:00
|
|
|
displayName: 'Build'
|
2019-08-26 17:18:16 +00:00
|
|
|
|
|
|
|
- script: |
|
2020-02-13 07:17:31 +00:00
|
|
|
7z a $(Build.ArtifactStagingDirectory)\xenia-$(Build.SourceBranchName).zip LICENSE .\build\bin\Windows\Release\xenia-canary.exe
|
|
|
|
7z a $(Build.ArtifactStagingDirectory)\xenia-vfs-dump-$(Build.SourceBranchName).zip LICENSE .\build\bin\Windows\Release\xenia-vfs-dump.exe
|
|
|
|
7z a $(Build.ArtifactStagingDirectory)\SDL2.zip .\build\bin\Windows\Release\SDL2.dll
|
2019-08-26 17:18:16 +00:00
|
|
|
displayName: 'Create archives'
|
|
|
|
|
|
|
|
- publish: $(Build.ArtifactStagingDirectory)
|
2019-10-20 20:51:32 +00:00
|
|
|
artifact: $(cpu_arch)
|
2019-08-26 17:18:16 +00:00
|
|
|
displayName: Publish artifacts
|