Skip to content

Commit e41cdfa

Browse files
committed
test
1 parent 83c2def commit e41cdfa

File tree

2 files changed

+0
-350
lines changed

2 files changed

+0
-350
lines changed

.github/workflows/bors.yml

-266
Original file line numberDiff line numberDiff line change
@@ -7,134 +7,15 @@ 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_check:
83-
name: Style check
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-
9710
docker_linux_tier2:
9811
name: Docker Linux Tier2
99-
needs: [docker_linux_tier1, style_check]
10012
runs-on: ubuntu-18.04
10113
strategy:
10214
fail-fast: true
10315
max-parallel: 12
10416
matrix:
10517
target: [
10618
aarch64-linux-android,
107-
aarch64-unknown-linux-gnu,
108-
aarch64-unknown-linux-musl,
109-
arm-linux-androideabi,
110-
arm-unknown-linux-gnueabihf,
111-
arm-unknown-linux-musleabihf,
112-
# FIXME: Disabled because currently broken, see:
113-
# https://github.com/rust-lang/libc/issues/1591
114-
# asmjs-unknown-emscripten,
115-
i686-linux-android,
116-
i686-unknown-linux-musl,
117-
mips-unknown-linux-gnu,
118-
mips-unknown-linux-musl,
119-
# FIXME: Disabled because of the `relocation truncated to fit` error
120-
# mips64-unknown-linux-gnuabi64,
121-
# mips64el-unknown-linux-gnuabi64,
122-
mipsel-unknown-linux-musl,
123-
powerpc-unknown-linux-gnu,
124-
powerpc64-unknown-linux-gnu,
125-
powerpc64le-unknown-linux-gnu,
126-
s390x-unknown-linux-gnu,
127-
riscv64gc-unknown-linux-gnu,
128-
# FIXME: Figure out why this is disabled.
129-
#wasm32-wasi,
130-
sparc64-unknown-linux-gnu,
131-
wasm32-unknown-emscripten,
132-
x86_64-linux-android,
133-
x86_64-unknown-linux-gnux32,
134-
x86_64-unknown-linux-musl,
135-
# FIXME: It seems some items in `src/unix/mod.rs`
136-
# aren't defined on redox actually.
137-
# x86_64-unknown-redox,
13819
]
13920
steps:
14021
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
@@ -146,133 +27,6 @@ jobs:
14627
- name: Execute run-docker.sh
14728
run: LIBC_CI=1 sh ./ci/run-docker.sh ${{ matrix.target }}
14829

149-
# devkitpro's pacman needs to be connected from Docker.
150-
docker_switch:
151-
name: Docker Switch
152-
needs: [docker_linux_tier1, style_check]
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: 5
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: 4
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-
docs:
261-
name: Generate documentation
262-
runs-on: ubuntu-18.04
263-
needs: docker_linux_tier2
264-
strategy:
265-
fail-fast: true
266-
steps:
267-
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
268-
with:
269-
github_token: "${{ secrets.GITHUB_TOKEN }}"
270-
- uses: actions/checkout@v2
271-
- name: Setup Rust toolchain
272-
run: sh ./ci/install-rust.sh
273-
- name: Generate documentation
274-
run: LIBC_CI=1 sh ci/dox.sh
275-
27630
# These jobs doesn't actually test anything, but they're only used to tell
27731
# bors the build completed, as there is no practical way to detect when a
27832
# workflow is successful listening to webhooks only.
@@ -284,17 +38,7 @@ jobs:
28438
if: github.event.pusher.name == 'bors' && success()
28539
runs-on: ubuntu-18.04
28640
needs: [
287-
docker_linux_tier1,
28841
docker_linux_tier2,
289-
macos,
290-
windows,
291-
style_check,
292-
docker_switch,
293-
build_channels_linux,
294-
build_channels_macos,
295-
semver_linux,
296-
semver_macos,
297-
docs,
29842
]
29943

30044
steps:
@@ -306,17 +50,7 @@ jobs:
30650
if: github.event.pusher.name == 'bors' && (failure() || cancelled())
30751
runs-on: ubuntu-18.04
30852
needs: [
309-
docker_linux_tier1,
31053
docker_linux_tier2,
311-
macos,
312-
windows,
313-
style_check,
314-
docker_switch,
315-
build_channels_linux,
316-
build_channels_macos,
317-
semver_linux,
318-
semver_macos,
319-
docs,
32054
]
32155

32256
steps:

.github/workflows/main.yml

-84
This file was deleted.

0 commit comments

Comments
 (0)