Skip to content

Commit 3a8784f

Browse files
committed
Speed up CI for debugging
1 parent 9f581e6 commit 3a8784f

File tree

1 file changed

+2
-205
lines changed

1 file changed

+2
-205
lines changed

ci/azure.yml

Lines changed: 2 additions & 205 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,7 @@ trigger: ["auto-libc","try"]
1010
pr: ["master"]
1111

1212
jobs:
13-
- job: DockerLinuxTier1
14-
pool:
15-
vmImage: ubuntu-18.04
16-
steps:
17-
- template: azure-install-rust.yml
18-
- bash: LIBC_CI=1 sh ./ci/run-docker.sh $TARGET
19-
displayName: Execute run-docker.sh
20-
strategy:
21-
matrix:
22-
i686-unknown-linux-gnu:
23-
TARGET: i686-unknown-linux-gnu
24-
x86_64-unknown-linux-gnu:
25-
TARGET: x86_64-unknown-linux-gnu
26-
2713
- job: DockerLinuxTier2
28-
#dependsOn: DockerLinuxTier1
2914
pool:
3015
vmImage: ubuntu-18.04
3116
steps:
@@ -34,193 +19,5 @@ jobs:
3419
displayName: Execute run-docker.sh
3520
strategy:
3621
matrix:
37-
aarch64-unknown-linux-android:
38-
TARGET: aarch64-linux-android
39-
aarch64-unknown-linux-gnu:
40-
TARGET: aarch64-unknown-linux-gnu
41-
aarch64-unknown-linux-musl:
42-
TARGET: aarch64-unknown-linux-musl
43-
arm-linux-androideabi:
44-
TARGET: arm-linux-androideabi
45-
arm-unknown-linux-gnueabihf:
46-
TARGET: arm-unknown-linux-gnueabihf
47-
arm-unknown-linux-musleabihf:
48-
TARGET: arm-unknown-linux-musleabihf
49-
# Disabled because currently broken, see:
50-
# https://github.com/rust-lang/libc/issues/1591
51-
# asmjs-unknown-emscripten:
52-
# TARGET: asmjs-unknown-emscripten
53-
# FIXME: Disabled due to https://github.com/rust-lang/libc/issues/1765
54-
# i686-linux-android:
55-
# TARGET: i686-linux-android
56-
i686-unknown-linux-musl:
57-
TARGET: i686-unknown-linux-musl
58-
mips-unknown-linux-gnu:
59-
TARGET: mips-unknown-linux-gnu
60-
mips-unknown-linux-musl:
61-
TARGET: mips-unknown-linux-musl
62-
mips64-unknown-linux-gnuabi64:
63-
TARGET: mips64-unknown-linux-gnuabi64
64-
mips64el-unknown-linux-gnuabi64:
65-
TARGET: mips64el-unknown-linux-gnuabi64
66-
mipsel-unknown-linux-musl:
67-
TARGET: mipsel-unknown-linux-musl
68-
#powerpc-unknown-linux-gnu:
69-
# TARGET: powerpc-unknown-linux-gnu
70-
powerpc64-unknown-linux-gnu:
71-
TARGET: powerpc64-unknown-linux-gnu
72-
powerpc64le-unknown-linux-gnu:
73-
TARGET: powerpc64le-unknown-linux-gnu
74-
s390x-unknown-linux-gnu:
75-
TARGET: s390x-unknown-linux-gnu
76-
riscv64gc-unknown-linux-gnu:
77-
TARGET: riscv64gc-unknown-linux-gnu
78-
#wasm32-wasi
79-
# TARGET: wasm32-wasi
80-
sparc64-unknown-linux-gnu:
81-
TARGET: sparc64-unknown-linux-gnu
82-
wasm32-unknown-emscripten:
83-
TARGET: wasm32-unknown-emscripten
84-
x86_64-linux-android:
85-
TARGET: x86_64-linux-android
86-
x86_64-unknown-linux-gnux32:
87-
TARGET: x86_64-unknown-linux-gnux32
88-
x86_64-unknown-linux-musl:
89-
TARGET: x86_64-unknown-linux-musl
90-
91-
- job: DockerOSX64
92-
pool:
93-
vmImage: macos-10.15
94-
steps:
95-
- template: azure-install-rust.yml
96-
- bash: LIBC_CI=1 sh ./ci/run.sh $TARGET
97-
displayName: Execute run.sh
98-
strategy:
99-
matrix:
100-
x86_64-apple-darwin:
101-
TARGET: x86_64-apple-darwin
102-
103-
- job: Windows
104-
pool:
105-
vmImage: vs2017-win2016
106-
steps:
107-
- template: azure-install-rust.yml
108-
- bash: LIBC_CI=1 sh ./ci/run.sh $TARGET
109-
displayName: Execute run.sh
110-
strategy:
111-
matrix:
112-
x86_64-pc-windows-gnu:
113-
TARGET: x86_64-pc-windows-gnu
114-
ARCH_BITS: 64
115-
ARCH: x86_64
116-
x86_64-pc-windows-msvc:
117-
TARGET: x86_64-pc-windows-msvc
118-
# Disabled because broken:
119-
# https://github.com/rust-lang/libc/issues/1592
120-
#i686-pc-windows-gnu:
121-
# TARGET: i686-pc-windows-gnu
122-
# ARCH_BITS: 32
123-
# ARCH: i686
124-
i686-pc-windows-msvc:
125-
TARGET: i686-pc-windows-msvc
126-
127-
- job: StyleAndDocs
128-
pool:
129-
vmImage: ubuntu-18.04
130-
steps:
131-
- template: azure-install-rust.yml
132-
- script: sh ci/style.sh
133-
displayName: Check style
134-
- script: LIBC_CI=1 sh ci/dox.sh
135-
displayName: Generate documentation
136-
- template: azure-configs/static-websites.yml@rustinfra
137-
parameters:
138-
deploy_dir: target/doc
139-
140-
- job: SemverLinux
141-
dependsOn: BuildChannelsLinux
142-
continueOnError: true
143-
pool:
144-
vmImage: ubuntu-18.04
145-
steps:
146-
- template: azure-install-rust.yml
147-
- script: sh ci/semver.sh linux
148-
displayName: Check breaking changes
149-
150-
- job: SemverOSX
151-
dependsOn: BuildChannelsOSX
152-
continueOnError: true
153-
pool:
154-
vmImage: macos-10.15
155-
steps:
156-
- template: azure-install-rust.yml
157-
- script: sh ci/semver.sh osx
158-
displayName: Check breaking changes
159-
160-
- job: BuildChannelsLinux
161-
dependsOn: StyleAndDocs
162-
pool:
163-
vmImage: ubuntu-18.04
164-
steps:
165-
- template: azure-install-rust.yml
166-
- script: LIBC_CI=1 sh ./ci/build.sh
167-
displayName: Execute build.sh
168-
strategy:
169-
matrix:
170-
stable:
171-
TOOLCHAIN: stable
172-
beta:
173-
TOOLCHAIN: beta
174-
nightly:
175-
TOOLCHAIN: nightly
176-
1.13.0:
177-
TOOLCHAIN: 1.13.0
178-
1.19.0:
179-
TOOLCHAIN: 1.19.0
180-
1.24.0:
181-
TOOLCHAIN: 1.24.0
182-
1.25.0:
183-
TOOLCHAIN: 1.25.0
184-
1.30.0:
185-
TOOLCHAIN: 1.30.0
186-
variables:
187-
OS: linux
188-
189-
# devkitpro's pacman needs to be connected from Docker.
190-
- job: DockerSwitch
191-
dependsOn: StyleAndDocs
192-
pool:
193-
vmImage: ubuntu-18.04
194-
steps:
195-
- template: azure-install-rust.yml
196-
- bash: LIBC_CI=1 sh ./ci/run-docker.sh switch
197-
displayName: Execute run-docker.sh
198-
199-
- job: BuildChannelsOSX
200-
dependsOn: StyleAndDocs
201-
pool:
202-
vmImage: macos-10.15
203-
steps:
204-
- template: azure-install-rust.yml
205-
- script: LIBC_CI=1 sh ./ci/build.sh
206-
displayName: Execute build.sh
207-
strategy:
208-
matrix:
209-
stable:
210-
TOOLCHAIN: stable
211-
beta:
212-
TOOLCHAIN: beta
213-
nightly:
214-
TOOLCHAIN: nightly
215-
1.13.0:
216-
TOOLCHAIN: 1.13.0
217-
1.19.0:
218-
TOOLCHAIN: 1.19.0
219-
1.24.0:
220-
TOOLCHAIN: 1.24.0
221-
1.25.0:
222-
TOOLCHAIN: 1.25.0
223-
1.30.0:
224-
TOOLCHAIN: 1.30.0
225-
variables:
226-
OS: osx
22+
i686-linux-android:
23+
TARGET: i686-linux-android

0 commit comments

Comments
 (0)