Skip to content

Commit bd195be

Browse files
committed
Speed up CI for debugging
1 parent 872bc64 commit bd195be

File tree

1 file changed

+4
-196
lines changed

1 file changed

+4
-196
lines changed

ci/azure.yml

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

0 commit comments

Comments
 (0)