Skip to content

Commit 760ff73

Browse files
committed
fixup! Add a build definition for Azure DevOps
Let's use the new YAML schema. See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema Signed-off-by: Johannes Schindelin <[email protected]>
1 parent e1a2142 commit 760ff73

File tree

1 file changed

+20
-29
lines changed

1 file changed

+20
-29
lines changed

azure-pipelines.yml

Lines changed: 20 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ resources:
22
- repo: self
33
fetchDepth: 1
44

5-
phases:
6-
- phase: linux_clang
5+
jobs:
6+
- job: linux_clang
77
displayName: linux-clang
88
condition: succeeded()
9-
queue:
10-
name: Hosted Ubuntu 1604
9+
pool: Hosted Ubuntu 1604
1110
steps:
1211
- bash: |
1312
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
@@ -37,11 +36,10 @@ phases:
3736
publishRunAttachments: false
3837
condition: succeededOrFailed()
3938

40-
- phase: linux_gcc
39+
- job: linux_gcc
4140
displayName: linux-gcc
4241
condition: succeeded()
43-
queue:
44-
name: Hosted Ubuntu 1604
42+
pool: Hosted Ubuntu 1604
4543
steps:
4644
- bash: |
4745
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
@@ -69,11 +67,10 @@ phases:
6967
publishRunAttachments: false
7068
condition: succeededOrFailed()
7169

72-
- phase: osx_clang
70+
- job: osx_clang
7371
displayName: osx-clang
7472
condition: succeeded()
75-
queue:
76-
name: Hosted macOS
73+
pool: Hosted macOS
7774
steps:
7875
- bash: |
7976
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
@@ -99,11 +96,10 @@ phases:
9996
publishRunAttachments: false
10097
condition: succeededOrFailed()
10198

102-
- phase: osx_gcc
99+
- job: osx_gcc
103100
displayName: osx-gcc
104101
condition: succeeded()
105-
queue:
106-
name: Hosted macOS
102+
pool: Hosted macOS
107103
steps:
108104
- bash: |
109105
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
@@ -127,11 +123,10 @@ phases:
127123
publishRunAttachments: false
128124
condition: succeededOrFailed()
129125

130-
- phase: gettext_poison
126+
- job: gettext_poison
131127
displayName: GETTEXT_POISON
132128
condition: succeeded()
133-
queue:
134-
name: Hosted Ubuntu 1604
129+
pool: Hosted Ubuntu 1604
135130
steps:
136131
- bash: |
137132
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
@@ -160,11 +155,10 @@ phases:
160155
publishRunAttachments: false
161156
condition: succeededOrFailed()
162157

163-
- phase: windows
158+
- job: windows
164159
displayName: Windows
165-
queue:
166-
name: Hosted
167-
timeoutInMinutes: 240
160+
pool: Hosted
161+
timeoutInMinutes: 240
168162
steps:
169163
- powershell: |
170164
if ("$GITFILESHAREPWD" -ne "" -and "$GITFILESHAREPWD" -ne "`$`(gitfileshare.pwd)") {
@@ -247,11 +241,10 @@ phases:
247241
publishRunAttachments: false
248242
condition: succeededOrFailed()
249243

250-
- phase: linux32
244+
- job: linux32
251245
displayName: Linux32
252246
condition: succeeded()
253-
queue:
254-
name: Hosted Ubuntu 1604
247+
pool: Hosted Ubuntu 1604
255248
steps:
256249
- bash: |
257250
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
@@ -273,11 +266,10 @@ phases:
273266
publishRunAttachments: false
274267
condition: succeededOrFailed()
275268

276-
- phase: static_analysis
269+
- job: static_analysis
277270
displayName: StaticAnalysis
278271
condition: succeeded()
279-
queue:
280-
name: Hosted Ubuntu 1604
272+
pool: Hosted Ubuntu 1604
281273
steps:
282274
- bash: |
283275
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
@@ -295,11 +287,10 @@ phases:
295287
env:
296288
GITFILESHAREPWD: $(gitfileshare.pwd)
297289
298-
- phase: documentation
290+
- job: documentation
299291
displayName: Documentation
300292
condition: succeeded()
301-
queue:
302-
name: Hosted Ubuntu 1604
293+
pool: Hosted Ubuntu 1604
303294
steps:
304295
- bash: |
305296
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1

0 commit comments

Comments
 (0)