|
6 | 6 | pull_request: |
7 | 7 |
|
8 | 8 | 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 |
100 | 100 |
|
101 | 101 | test: |
102 | 102 | strategy: |
|
0 commit comments