Skip to content

Commit 2127f52

Browse files
committed
Disable the slow CI tests
We don't care about those platforms for now. We likely don't do platform-specific changes anyway.
1 parent cd3dd00 commit 2127f52

File tree

1 file changed

+91
-91
lines changed

1 file changed

+91
-91
lines changed

.github/workflows/rust.yml

Lines changed: 91 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -6,97 +6,97 @@ on:
66
pull_request:
77

88
jobs:
9-
test-freebsd:
10-
# see https://github.com/actions/runner/issues/385
11-
# use https://github.com/vmactions/freebsd-vm for now
12-
name: test on freebsd
13-
runs-on: ubuntu-latest
14-
steps:
15-
- uses: actions/checkout@v4
16-
- name: test on freebsd
17-
uses: vmactions/freebsd-vm@v1
18-
with:
19-
usesh: true
20-
mem: 4096
21-
copyback: false
22-
prepare: |
23-
pkg install -y curl
24-
curl https://sh.rustup.rs -sSf --output rustup.sh
25-
sh rustup.sh -y --profile minimal --default-toolchain stable
26-
run: |
27-
export PATH="$HOME/.cargo/bin:$PATH"
28-
echo "===== rustc --version ====="
29-
rustc --version
30-
echo "===== freebsd-version ====="
31-
freebsd-version
32-
33-
cargo build --locked --all-targets && cargo test --locked && cargo test --locked -- --ignored stress && cargo test --locked --manifest-path fuzz/Cargo.toml && cargo test --locked -p iroh-quinn-udp --benches
34-
35-
test-netbsd:
36-
name: test on netbsd
37-
runs-on: ubuntu-latest
38-
steps:
39-
- uses: actions/checkout@v4
40-
- name: test on netbsd
41-
uses: vmactions/netbsd-vm@v1
42-
with:
43-
usesh: true
44-
mem: 4096
45-
copyback: false
46-
prepare: |
47-
export PATH="/usr/sbin:/sbin:$PATH"
48-
pkg_add curl
49-
curl https://sh.rustup.rs -sSf --output rustup.sh
50-
sh rustup.sh -y --profile minimal --default-toolchain stable
51-
run: |
52-
export PATH="$HOME/.cargo/bin:$PATH"
53-
echo "===== rustc --version ====="
54-
rustc --version
55-
echo "===== uname -a ====="
56-
uname -a
57-
58-
cargo build --locked --all-targets && cargo test --locked && cargo test --locked -- --ignored stress && cargo test --locked --manifest-path fuzz/Cargo.toml && cargo test --locked -p iroh-quinn-udp --benches
59-
60-
test-solaris:
61-
name: test on solaris
62-
runs-on: ubuntu-latest
63-
steps:
64-
- uses: actions/checkout@v4
65-
- name: test on Solaris
66-
uses: vmactions/solaris-vm@v1
67-
with:
68-
release: "11.4-gcc"
69-
usesh: true
70-
mem: 4096
71-
copyback: false
72-
prepare: |
73-
source <(curl -s https://raw.githubusercontent.com/psumbera/solaris-rust/refs/heads/main/sh.rust-web-install)
74-
echo "~~~~ rustc --version ~~~~"
75-
rustc --version
76-
echo "~~~~ Solaris-version ~~~~"
77-
uname -a
78-
# Unlike others, don't un-ignore stress tests, because they hang on Solaris
79-
run: |
80-
export PATH=$HOME/.rust_solaris/bin:$PATH
81-
cargo build --locked --all-targets && cargo test --locked --manifest-path fuzz/Cargo.toml && cargo test --locked -p iroh-quinn-udp --benches
82-
83-
test-illumos:
84-
name: test on illumos
85-
runs-on: ubuntu-latest
86-
steps:
87-
- uses: actions/checkout@v4
88-
- name: test on Illumos
89-
uses: vmactions/omnios-vm@v1
90-
with:
91-
usesh: true
92-
mem: 4096
93-
copyback: false
94-
prepare: |
95-
pkg install gcc14 curl pkg-config glib2
96-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
97-
run: |
98-
. "$HOME/.cargo/env"
99-
cargo build --locked --all-targets && cargo test --locked && cargo test --locked -- --ignored stress && cargo test --locked --manifest-path fuzz/Cargo.toml && cargo test --locked -p iroh-quinn-udp --benches
9+
# test-freebsd:
10+
# # see https://github.com/actions/runner/issues/385
11+
# # use https://github.com/vmactions/freebsd-vm for now
12+
# name: test on freebsd
13+
# runs-on: ubuntu-latest
14+
# steps:
15+
# - uses: actions/checkout@v4
16+
# - name: test on freebsd
17+
# uses: vmactions/freebsd-vm@v1
18+
# with:
19+
# usesh: true
20+
# mem: 4096
21+
# copyback: false
22+
# prepare: |
23+
# pkg install -y curl
24+
# curl https://sh.rustup.rs -sSf --output rustup.sh
25+
# sh rustup.sh -y --profile minimal --default-toolchain stable
26+
# run: |
27+
# export PATH="$HOME/.cargo/bin:$PATH"
28+
# echo "===== rustc --version ====="
29+
# rustc --version
30+
# echo "===== freebsd-version ====="
31+
# freebsd-version
32+
33+
# cargo build --locked --all-targets && cargo test --locked && cargo test --locked -- --ignored stress && cargo test --locked --manifest-path fuzz/Cargo.toml && cargo test --locked -p iroh-quinn-udp --benches
34+
35+
# test-netbsd:
36+
# name: test on netbsd
37+
# runs-on: ubuntu-latest
38+
# steps:
39+
# - uses: actions/checkout@v4
40+
# - name: test on netbsd
41+
# uses: vmactions/netbsd-vm@v1
42+
# with:
43+
# usesh: true
44+
# mem: 4096
45+
# copyback: false
46+
# prepare: |
47+
# export PATH="/usr/sbin:/sbin:$PATH"
48+
# pkg_add curl
49+
# curl https://sh.rustup.rs -sSf --output rustup.sh
50+
# sh rustup.sh -y --profile minimal --default-toolchain stable
51+
# run: |
52+
# export PATH="$HOME/.cargo/bin:$PATH"
53+
# echo "===== rustc --version ====="
54+
# rustc --version
55+
# echo "===== uname -a ====="
56+
# uname -a
57+
58+
# cargo build --locked --all-targets && cargo test --locked && cargo test --locked -- --ignored stress && cargo test --locked --manifest-path fuzz/Cargo.toml && cargo test --locked -p iroh-quinn-udp --benches
59+
60+
# test-solaris:
61+
# name: test on solaris
62+
# runs-on: ubuntu-latest
63+
# steps:
64+
# - uses: actions/checkout@v4
65+
# - name: test on Solaris
66+
# uses: vmactions/solaris-vm@v1
67+
# with:
68+
# release: "11.4-gcc"
69+
# usesh: true
70+
# mem: 4096
71+
# copyback: false
72+
# prepare: |
73+
# source <(curl -s https://raw.githubusercontent.com/psumbera/solaris-rust/refs/heads/main/sh.rust-web-install)
74+
# echo "~~~~ rustc --version ~~~~"
75+
# rustc --version
76+
# echo "~~~~ Solaris-version ~~~~"
77+
# uname -a
78+
# # Unlike others, don't un-ignore stress tests, because they hang on Solaris
79+
# run: |
80+
# export PATH=$HOME/.rust_solaris/bin:$PATH
81+
# cargo build --locked --all-targets && cargo test --locked --manifest-path fuzz/Cargo.toml && cargo test --locked -p iroh-quinn-udp --benches
82+
83+
# test-illumos:
84+
# name: test on illumos
85+
# runs-on: ubuntu-latest
86+
# steps:
87+
# - uses: actions/checkout@v4
88+
# - name: test on Illumos
89+
# uses: vmactions/omnios-vm@v1
90+
# with:
91+
# usesh: true
92+
# mem: 4096
93+
# copyback: false
94+
# prepare: |
95+
# pkg install gcc14 curl pkg-config glib2
96+
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
97+
# run: |
98+
# . "$HOME/.cargo/env"
99+
# cargo build --locked --all-targets && cargo test --locked && cargo test --locked -- --ignored stress && cargo test --locked --manifest-path fuzz/Cargo.toml && cargo test --locked -p iroh-quinn-udp --benches
100100

101101
test:
102102
strategy:

0 commit comments

Comments
 (0)