forked from xenia-canary/xenia-canary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure-pipelines.yml
62 lines (58 loc) · 1.37 KB
/
.azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
trigger:
branches:
include:
- '*'
exclude:
- gh-pages
- master
paths:
exclude:
- docs/*
- .github/*
- LICENSE
- README.md
- .appveyor.yml
- .travis.yml
pr:
branches:
include:
- '*'
exclude:
- gh-pages
- master
paths:
exclude:
- docs/*
- .github/*
- LICENSE
- README.md
- .appveyor.yml
- .travis.yml
jobs:
- job:
pool:
vmImage: windows-latest
strategy:
matrix:
SSE2: # SSE2 BUILDS WON'T WORK ON NON-AVX(2) CPUs!
cpu_arch: SSE2 # SSE2 BUILDS WON'T WORK ON NON-AVX(2) CPUs!
AVX:
cpu_arch: AVX
AVX2:
cpu_arch: AVX2
AVX512:
cpu_arch: AVX512
steps:
- script: xb setup
displayName: 'Setup'
- script: xb build --cpu_arch=$(cpu_arch) --target=src\xenia-app --target=tests\xenia-cpu-ppc-tests --target=src\xenia-vfs-dump
displayName: 'Build'
- script: |
cd build\bin\Windows\Release
ren xenia.exe xenia-canary.exe
7z a $(Build.ArtifactStagingDirectory)\xenia-$(Build.SourceBranchName).zip ..\..\..\..\LICENSE xenia-canary.exe
7z a $(Build.ArtifactStagingDirectory)\xenia-vfs-dump-$(Build.SourceBranchName).zip ..\..\..\..\LICENSE xenia-vfs-dump.exe
displayName: 'Create archives'
- publish: $(Build.ArtifactStagingDirectory)
artifact: $(cpu_arch)
displayName: Publish artifacts