Skip to content

Commit 5f53f55

Browse files
Upload bin directory to azure artefacts (#6976)
Upload `bin` directory to azure artefacts
1 parent 1f6e17c commit 5f53f55

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

azure-pipelines.yml

+15
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ jobs:
102102
ninja
103103
displayName: 'Build'
104104
105+
- publish: $(System.DefaultWorkingDirectory)/build/bin
106+
artifact: $(Agent.JobName)
107+
105108
- script: |
106109
cd build
107110
ninja check
@@ -119,62 +122,71 @@ jobs:
119122
special_build: ''
120123
do_test: true
121124
test_tags: ''
125+
build_outdir_suffix: ''
122126
x86.Test:
123127
image_name: 'windows-2022'
124128
build_type: 'test'
125129
target: 'x86'
126130
special_build: ''
127131
do_test: true
128132
test_tags: '--include-slow'
133+
build_outdir_suffix: ''
129134
x86.NoJit:
130135
image_name: 'windows-2022'
131136
build_type: 'debug'
132137
target: 'x86'
133138
special_build: '"/p:BuildJIT=false"'
134139
do_test: true
135140
test_tags: '-disablejit'
141+
build_outdir_suffix: '.NoJIT'
136142
x86.Release:
137143
image_name: 'windows-2022'
138144
build_type: 'release'
139145
target: 'x86'
140146
special_build: ''
141147
do_test: false
142148
test_tags: ''
149+
build_outdir_suffix: ''
143150
x64.Debug:
144151
image_name: 'windows-2022'
145152
build_type: 'debug'
146153
target: 'x64'
147154
special_build: ''
148155
do_test: true
149156
test_tags: ''
157+
build_outdir_suffix: ''
150158
x64.Test:
151159
image_name: 'windows-2022'
152160
build_type: 'test'
153161
target: 'x64'
154162
special_build: ''
155163
do_test: true
156164
test_tags: '--include-slow'
165+
build_outdir_suffix: ''
157166
x64.Release:
158167
image_name: 'windows-2022'
159168
build_type: 'release'
160169
target: 'x64'
161170
special_build: ''
162171
do_test: false
163172
test_tags: ''
173+
build_outdir_suffix: ''
164174
win19.x86.Release:
165175
image_name: 'windows-2019'
166176
build_type: 'release'
167177
target: 'x86'
168178
special_build: ''
169179
do_test: false
170180
test_tags: ''
181+
build_outdir_suffix: ''
171182
win19.x64.Release:
172183
image_name: 'windows-2019'
173184
build_type: 'release'
174185
target: 'x64'
175186
special_build: ''
176187
do_test: false
177188
test_tags: ''
189+
build_outdir_suffix: ''
178190
pool:
179191
vmImage: $(image_name)
180192

@@ -186,6 +198,9 @@ jobs:
186198
BUILD: $(build_type)
187199
SPECIAL: $(special_build)
188200

201+
- publish: $(System.DefaultWorkingDirectory)/Build/VcBuild$(build_outdir_suffix)/bin
202+
artifact: $(Agent.JobName)
203+
189204
- script: test\ci.testone.cmd %TARGET% %BUILD% %TEST_TAGS%
190205
displayName: 'Test'
191206
condition: eq(variables['do_test'], true)

0 commit comments

Comments
 (0)