6
6
# Builds the library for Windows Desktop and UWP.
7
7
8
8
schedules :
9
- - cron : " 0 3 * * *"
10
- displayName : ' Nightly build'
11
- branches :
12
- include :
13
- - main
9
+ - cron : " 0 3 * * *"
10
+ displayName : ' Nightly build'
11
+ branches :
12
+ include :
13
+ - main
14
14
15
15
# GitHub Actions handles MSBuild for CI/PR
16
16
trigger : none
17
17
pr :
18
18
branches :
19
19
include :
20
- - main
20
+ - main
21
21
paths :
22
22
include :
23
- - ' .azuredevops/pipelines/DirectXTex-GitHub-Dev17.yml'
24
- - DirectXTex/Shaders/CompileShaders.cmd
23
+ - ' .azuredevops/pipelines/DirectXTex-GitHub-Dev17.yml'
24
+ - DirectXTex/Shaders/CompileShaders.cmd
25
25
26
26
resources :
27
27
repositories :
28
- - repository : self
29
- type : git
30
- ref : refs/heads/main
28
+ - repository : self
29
+ type : git
30
+ ref : refs/heads/main
31
31
32
32
name : $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
33
33
@@ -38,117 +38,117 @@ pool:
38
38
vmImage : windows-2022
39
39
40
40
jobs :
41
- - job : DESKTOP_BUILD
42
- displayName : ' Windows Desktop'
43
- timeoutInMinutes : 120
44
- cancelTimeoutInMinutes : 1
45
- strategy :
46
- maxParallel : 3
47
- matrix :
48
- Release_arm64 :
49
- BuildPlatform : ARM64
50
- BuildConfiguration : Release
51
- SpectreMitigation : false
52
- Debug_arm64 :
53
- BuildPlatform : ARM64
54
- BuildConfiguration : Debug
55
- SpectreMitigation : false
56
- Release_x64 :
57
- BuildPlatform : x64
58
- BuildConfiguration : Release
59
- SpectreMitigation : false
60
- Debug_x64 :
61
- BuildPlatform : x64
62
- BuildConfiguration : Debug
63
- SpectreMitigation : false
64
- Release_x86 :
65
- BuildPlatform : x86
66
- BuildConfiguration : Release
67
- SpectreMitigation : false
68
- Debug_x86 :
69
- BuildPlatform : x86
70
- BuildConfiguration : Debug
71
- SpectreMitigation : false
72
- Release_arm64_SpectreMitigated :
73
- BuildPlatform : ARM64
74
- BuildConfiguration : Release
75
- SpectreMitigation : ' Spectre'
76
- Debug_arm64_SpectreMitigated :
77
- BuildPlatform : ARM64
78
- BuildConfiguration : Debug
79
- SpectreMitigation : ' Spectre'
80
- Release_x64_SpectreMitigated :
81
- BuildPlatform : x64
82
- BuildConfiguration : Release
83
- SpectreMitigation : ' Spectre'
84
- Debug_x64_SpectreMitigated :
85
- BuildPlatform : x64
86
- BuildConfiguration : Debug
87
- SpectreMitigation : ' Spectre'
88
- Release_x86_SpectreMitigated :
89
- BuildPlatform : x86
90
- BuildConfiguration : Release
91
- SpectreMitigation : ' Spectre'
92
- Debug_x86_SpectreMitigated :
93
- BuildPlatform : x86
94
- BuildConfiguration : Debug
95
- SpectreMitigation : ' Spectre'
96
- steps :
97
- - checkout : self
98
- clean : true
99
- fetchTags : false
100
- - task : VSBuild@1
101
- displayName : Build solution DirectXTex_Desktop_2022.sln
102
- inputs :
103
- solution : DirectXTex_Desktop_2022.sln
104
- msbuildArgs : /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=$(SpectreMitigation)
105
- platform : ' $(BuildPlatform)'
106
- configuration : ' $(BuildConfiguration)'
107
- msbuildArchitecture : x64
108
- condition : ne(variables['BuildPlatform'], 'ARM64')
109
- - task : VSBuild@1
110
- displayName : Build solution DirectXTex_Desktop_2022_Win10.sln
111
- inputs :
112
- solution : DirectXTex_Desktop_2022_Win10.sln
113
- msbuildArgs : /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=$(SpectreMitigation)
114
- platform : ' $(BuildPlatform)'
115
- configuration : ' $(BuildConfiguration)'
116
- msbuildArchitecture : x64
41
+ - job : DESKTOP_BUILD
42
+ displayName : ' Windows Desktop'
43
+ timeoutInMinutes : 120
44
+ cancelTimeoutInMinutes : 1
45
+ strategy :
46
+ maxParallel : 3
47
+ matrix :
48
+ Release_arm64 :
49
+ BuildPlatform : ARM64
50
+ BuildConfiguration : Release
51
+ SpectreMitigation : false
52
+ Debug_arm64 :
53
+ BuildPlatform : ARM64
54
+ BuildConfiguration : Debug
55
+ SpectreMitigation : false
56
+ Release_x64 :
57
+ BuildPlatform : x64
58
+ BuildConfiguration : Release
59
+ SpectreMitigation : false
60
+ Debug_x64 :
61
+ BuildPlatform : x64
62
+ BuildConfiguration : Debug
63
+ SpectreMitigation : false
64
+ Release_x86 :
65
+ BuildPlatform : x86
66
+ BuildConfiguration : Release
67
+ SpectreMitigation : false
68
+ Debug_x86 :
69
+ BuildPlatform : x86
70
+ BuildConfiguration : Debug
71
+ SpectreMitigation : false
72
+ Release_arm64_SpectreMitigated :
73
+ BuildPlatform : ARM64
74
+ BuildConfiguration : Release
75
+ SpectreMitigation : ' Spectre'
76
+ Debug_arm64_SpectreMitigated :
77
+ BuildPlatform : ARM64
78
+ BuildConfiguration : Debug
79
+ SpectreMitigation : ' Spectre'
80
+ Release_x64_SpectreMitigated :
81
+ BuildPlatform : x64
82
+ BuildConfiguration : Release
83
+ SpectreMitigation : ' Spectre'
84
+ Debug_x64_SpectreMitigated :
85
+ BuildPlatform : x64
86
+ BuildConfiguration : Debug
87
+ SpectreMitigation : ' Spectre'
88
+ Release_x86_SpectreMitigated :
89
+ BuildPlatform : x86
90
+ BuildConfiguration : Release
91
+ SpectreMitigation : ' Spectre'
92
+ Debug_x86_SpectreMitigated :
93
+ BuildPlatform : x86
94
+ BuildConfiguration : Debug
95
+ SpectreMitigation : ' Spectre'
96
+ steps :
97
+ - checkout : self
98
+ clean : true
99
+ fetchTags : false
100
+ - task : VSBuild@1
101
+ displayName : Build solution DirectXTex_Desktop_2022.sln
102
+ inputs :
103
+ solution : DirectXTex_Desktop_2022.sln
104
+ msbuildArgs : /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=$(SpectreMitigation)
105
+ platform : ' $(BuildPlatform)'
106
+ configuration : ' $(BuildConfiguration)'
107
+ msbuildArchitecture : x64
108
+ condition : ne(variables['BuildPlatform'], 'ARM64')
109
+ - task : VSBuild@1
110
+ displayName : Build solution DirectXTex_Desktop_2022_Win10.sln
111
+ inputs :
112
+ solution : DirectXTex_Desktop_2022_Win10.sln
113
+ msbuildArgs : /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=$(SpectreMitigation)
114
+ platform : ' $(BuildPlatform)'
115
+ configuration : ' $(BuildConfiguration)'
116
+ msbuildArchitecture : x64
117
117
118
- - job : UWP_BUILD
119
- displayName : ' Universal Windows Platform (UWP)'
120
- timeoutInMinutes : 120
121
- cancelTimeoutInMinutes : 1
122
- strategy :
123
- maxParallel : 3
124
- matrix :
125
- Release_arm64 :
126
- BuildPlatform : ARM64
127
- BuildConfiguration : Release
128
- Debug_arm64 :
129
- BuildPlatform : ARM64
130
- BuildConfiguration : Debug
131
- Release_x64 :
132
- BuildPlatform : x64
133
- BuildConfiguration : Release
134
- Debug_x64 :
135
- BuildPlatform : x64
136
- BuildConfiguration : Debug
137
- Release_x86 :
138
- BuildPlatform : x86
139
- BuildConfiguration : Release
140
- Debug_x86 :
141
- BuildPlatform : x86
142
- BuildConfiguration : Debug
143
- steps :
144
- - checkout : self
145
- clean : true
146
- fetchTags : false
147
- - task : VSBuild@1
148
- displayName : Build solution DirectXTex_Windows10_2022.sln
149
- inputs :
150
- solution : DirectXTex_Windows10_2022.sln
151
- msbuildArgs : /p:PreferredToolArchitecture=x64
152
- platform : ' $(BuildPlatform)'
153
- configuration : ' $(BuildConfiguration)'
154
- msbuildArchitecture : x64
118
+ - job : UWP_BUILD
119
+ displayName : ' Universal Windows Platform (UWP)'
120
+ timeoutInMinutes : 120
121
+ cancelTimeoutInMinutes : 1
122
+ strategy :
123
+ maxParallel : 3
124
+ matrix :
125
+ Release_arm64 :
126
+ BuildPlatform : ARM64
127
+ BuildConfiguration : Release
128
+ Debug_arm64 :
129
+ BuildPlatform : ARM64
130
+ BuildConfiguration : Debug
131
+ Release_x64 :
132
+ BuildPlatform : x64
133
+ BuildConfiguration : Release
134
+ Debug_x64 :
135
+ BuildPlatform : x64
136
+ BuildConfiguration : Debug
137
+ Release_x86 :
138
+ BuildPlatform : x86
139
+ BuildConfiguration : Release
140
+ Debug_x86 :
141
+ BuildPlatform : x86
142
+ BuildConfiguration : Debug
143
+ steps :
144
+ - checkout : self
145
+ clean : true
146
+ fetchTags : false
147
+ - task : VSBuild@1
148
+ displayName : Build solution DirectXTex_Windows10_2022.sln
149
+ inputs :
150
+ solution : DirectXTex_Windows10_2022.sln
151
+ msbuildArgs : /p:PreferredToolArchitecture=x64
152
+ platform : ' $(BuildPlatform)'
153
+ configuration : ' $(BuildConfiguration)'
154
+ msbuildArchitecture : x64
0 commit comments