Skip to content

Commit 1684ab7

Browse files
committed
debug
1 parent 9d9d15e commit 1684ab7

File tree

1 file changed

+0
-276
lines changed

1 file changed

+0
-276
lines changed

.github/workflows/bors.yml

Lines changed: 0 additions & 276 deletions
Original file line numberDiff line numberDiff line change
@@ -7,134 +7,17 @@ on:
77
- try
88

99
jobs:
10-
docker_linux_tier1:
11-
name: Docker Linux Tier1
12-
runs-on: ubuntu-18.04
13-
strategy:
14-
fail-fast: true
15-
matrix:
16-
target: [
17-
i686-unknown-linux-gnu,
18-
x86_64-unknown-linux-gnu,
19-
]
20-
steps:
21-
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
22-
with:
23-
github_token: "${{ secrets.GITHUB_TOKEN }}"
24-
- uses: actions/checkout@v2
25-
- name: Setup Rust toolchain
26-
run: TARGET=${{ matrix.target }} sh ./ci/install-rust.sh
27-
- name: Execute run-docker.sh
28-
run: LIBC_CI=1 sh ./ci/run-docker.sh ${{ matrix.target }}
29-
30-
macos:
31-
name: macOS
32-
runs-on: macos-10.15
33-
strategy:
34-
fail-fast: true
35-
matrix:
36-
target: [
37-
x86_64-apple-darwin,
38-
]
39-
steps:
40-
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
41-
with:
42-
github_token: "${{ secrets.GITHUB_TOKEN }}"
43-
- uses: actions/checkout@v2
44-
- name: Setup Rust toolchain
45-
run: TARGET=${{ matrix.target }} sh ./ci/install-rust.sh
46-
- name: Execute run.sh
47-
run: LIBC_CI=1 sh ./ci/run.sh ${{ matrix.target }}
48-
49-
windows:
50-
name: Windows
51-
runs-on: windows-2019
52-
env:
53-
OS: windows
54-
strategy:
55-
fail-fast: true
56-
matrix:
57-
include:
58-
- target: x86_64-pc-windows-gnu
59-
env:
60-
ARCH_BITS: 64
61-
ARCH: x86_64
62-
- target: x86_64-pc-windows-msvc
63-
# Disabled because broken:
64-
# https://github.com/rust-lang/libc/issues/1592
65-
#- target: i686-pc-windows-gnu
66-
# env:
67-
# ARCH_BITS: 32
68-
# ARCH: i686
69-
- target: i686-pc-windows-msvc
70-
steps:
71-
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
72-
with:
73-
github_token: "${{ secrets.GITHUB_TOKEN }}"
74-
- uses: actions/checkout@v2
75-
- name: Setup Rust toolchain
76-
run: TARGET=${{ matrix.target }} sh ./ci/install-rust.sh
77-
shell: bash
78-
- name: Execute run.sh
79-
run: LIBC_CI=1 sh ./ci/run.sh ${{ matrix.target }}
80-
shell: bash
81-
82-
style_and_docs:
83-
name: Style and docs
84-
runs-on: ubuntu-18.04
85-
strategy:
86-
fail-fast: true
87-
steps:
88-
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
89-
with:
90-
github_token: "${{ secrets.GITHUB_TOKEN }}"
91-
- uses: actions/checkout@v2
92-
- name: Setup Rust toolchain
93-
run: sh ./ci/install-rust.sh
94-
- name: Check style
95-
run: sh ci/style.sh
96-
- name: Generate documentation
97-
run: LIBC_CI=1 sh ci/dox.sh
98-
9910
docker_linux_tier2:
10011
name: Docker Linux Tier2
101-
needs: [docker_linux_tier1, style_and_docs]
10212
runs-on: ubuntu-18.04
10313
strategy:
10414
fail-fast: true
10515
max-parallel: 10
10616
matrix:
10717
target: [
10818
aarch64-linux-android,
109-
aarch64-unknown-linux-gnu,
110-
aarch64-unknown-linux-musl,
11119
arm-linux-androideabi,
112-
arm-unknown-linux-gnueabihf,
113-
arm-unknown-linux-musleabihf,
114-
# FIXME: Disabled because currently broken, see:
115-
# https://github.com/rust-lang/libc/issues/1591
116-
# asmjs-unknown-emscripten,
117-
# FIXME: Disabled due to https://github.com/rust-lang/libc/issues/1765
118-
# i686-linux-android,
119-
i686-unknown-linux-musl,
120-
mips-unknown-linux-gnu,
121-
mips-unknown-linux-musl,
122-
mips64-unknown-linux-gnuabi64,
123-
mips64el-unknown-linux-gnuabi64,
124-
mipsel-unknown-linux-musl,
125-
# FIXME: Figure out why this is disabled.
126-
#powerpc-unknown-linux-gnu,
127-
powerpc64-unknown-linux-gnu,
128-
powerpc64le-unknown-linux-gnu,
129-
s390x-unknown-linux-gnu,
130-
riscv64gc-unknown-linux-gnu,
131-
# FIXME: Figure out why this is disabled.
132-
#wasm32-wasi,
133-
sparc64-unknown-linux-gnu,
134-
wasm32-unknown-emscripten,
13520
x86_64-linux-android,
136-
x86_64-unknown-linux-gnux32,
137-
x86_64-unknown-linux-musl,
13821
]
13922
steps:
14023
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
@@ -145,162 +28,3 @@ jobs:
14528
run: TARGET=${{ matrix.target }} sh ./ci/install-rust.sh
14629
- name: Execute run-docker.sh
14730
run: LIBC_CI=1 sh ./ci/run-docker.sh ${{ matrix.target }}
148-
149-
# devkitpro's pacman needs to be connected from Docker.
150-
docker_switch:
151-
name: Docker Switch
152-
needs: [docker_linux_tier1, style_and_docs]
153-
runs-on: ubuntu-18.04
154-
strategy:
155-
fail-fast: true
156-
steps:
157-
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
158-
with:
159-
github_token: "${{ secrets.GITHUB_TOKEN }}"
160-
- uses: actions/checkout@v2
161-
- name: Setup Rust toolchain
162-
run: sh ./ci/install-rust.sh
163-
- name: Execute run-docker.sh
164-
run: LIBC_CI=1 sh ./ci/run-docker.sh switch
165-
166-
build_channels_linux:
167-
name: Build Channels Linux
168-
needs: docker_linux_tier2
169-
runs-on: ubuntu-18.04
170-
env:
171-
OS: linux
172-
strategy:
173-
fail-fast: true
174-
max-parallel: 4
175-
matrix:
176-
toolchain: [
177-
stable,
178-
beta,
179-
nightly,
180-
1.13.0,
181-
1.19.0,
182-
1.24.0,
183-
1.25.0,
184-
1.30.0,
185-
]
186-
steps:
187-
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
188-
with:
189-
github_token: "${{ secrets.GITHUB_TOKEN }}"
190-
- uses: actions/checkout@v2
191-
- name: Setup Rust toolchain
192-
run: TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/install-rust.sh
193-
- name: Execute build.sh
194-
run: LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh
195-
196-
build_channels_macos:
197-
name: Build Channels macOS
198-
needs: macos
199-
runs-on: macos-10.15
200-
env:
201-
OS: macos
202-
strategy:
203-
fail-fast: true
204-
max-parallel: 3
205-
matrix:
206-
toolchain: [
207-
stable,
208-
beta,
209-
nightly,
210-
1.13.0,
211-
1.19.0,
212-
1.24.0,
213-
1.25.0,
214-
1.30.0,
215-
]
216-
steps:
217-
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
218-
with:
219-
github_token: "${{ secrets.GITHUB_TOKEN }}"
220-
- uses: actions/checkout@v2
221-
- name: Setup Rust toolchain
222-
run: TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/install-rust.sh
223-
- name: Execute build.sh
224-
run: LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh
225-
226-
semver_linux:
227-
name: Semver Linux
228-
needs: build_channels_linux
229-
runs-on: ubuntu-18.04
230-
strategy:
231-
fail-fast: true
232-
steps:
233-
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
234-
with:
235-
github_token: "${{ secrets.GITHUB_TOKEN }}"
236-
- uses: actions/checkout@v2
237-
- name: Setup Rust toolchain
238-
# FIXME: Pin nightly version to make semverver compilable.
239-
run: TOOLCHAIN=nightly-2020-06-18 sh ./ci/install-rust.sh
240-
- name: Check breaking changes
241-
run: sh ci/semver.sh linux
242-
243-
semver_macos:
244-
name: Semver macOS
245-
needs: build_channels_macos
246-
runs-on: macos-10.15
247-
strategy:
248-
fail-fast: true
249-
steps:
250-
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
251-
with:
252-
github_token: "${{ secrets.GITHUB_TOKEN }}"
253-
- uses: actions/checkout@v2
254-
- name: Setup Rust toolchain
255-
# FIXME: Pin nightly version to make semverver compilable.
256-
run: TOOLCHAIN=nightly-2020-06-18 sh ./ci/install-rust.sh
257-
- name: Check breaking changes
258-
run: sh ci/semver.sh macos
259-
260-
# These jobs doesn't actually test anything, but they're only used to tell
261-
# bors the build completed, as there is no practical way to detect when a
262-
# workflow is successful listening to webhooks only.
263-
#
264-
# ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
265-
266-
end_success:
267-
name: bors build finished
268-
if: github.event.pusher.name == 'bors' && success()
269-
runs-on: ubuntu-18.04
270-
needs: [
271-
docker_linux_tier1,
272-
docker_linux_tier2,
273-
macos,
274-
windows,
275-
style_and_docs,
276-
docker_switch,
277-
build_channels_linux,
278-
build_channels_macos,
279-
semver_linux,
280-
semver_macos
281-
]
282-
283-
steps:
284-
- name: Mark the job as successful
285-
run: exit 0
286-
287-
end_failure:
288-
name: bors build finished
289-
if: github.event.pusher.name == 'bors' && (failure() || cancelled())
290-
runs-on: ubuntu-18.04
291-
needs: [
292-
docker_linux_tier1,
293-
docker_linux_tier2,
294-
macos,
295-
windows,
296-
style_and_docs,
297-
docker_switch,
298-
build_channels_linux,
299-
build_channels_macos,
300-
semver_linux,
301-
semver_macos
302-
]
303-
304-
steps:
305-
- name: Mark the job as a failure
306-
run: exit 1

0 commit comments

Comments
 (0)