Skip to content

Commit 3beb112

Browse files
committed
Draft experiment 3 to try more ways to install
In case the installation method makes a difference. Also, this brings back testing of the unstable toolchain. This has just one job for each meaningful combination, so mistakes in the experiment workflow can be found before doing nine times as much work. The experiment this prepares should hopefully shed more light on #1790 (or increase confidence in the observations so far), but this is just preparation: variation across runs will likely be due to the bug being nondeterministic.
1 parent d2d386f commit 3beb112

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

.github/workflows/arm-segv-experiment.yml

+21-8
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,40 @@ jobs:
66
test-fast:
77
strategy:
88
matrix:
9-
num-high: [ 0, 1, 2, 3, 4, 5, 6, 7 ]
9+
num-high: [ 0 ] # [ 0, 1, 2 ]
1010
os-ver: [ '22.04', '24.04' ]
11-
channel: [ stable, beta ]
12-
num-low: [ 0, 1, 2, 3, 4, 5, 6, 7 ]
11+
channel: [ stable, beta, nightly ]
12+
get-rust-by: [ rt-action, curl-sh ]
13+
get-nextest-by: [ i-action, cargo-qi ]
14+
num-low: [ 0 ] # [ 0, 1, 2 ]
1315

1416
fail-fast: false
1517

1618
runs-on: ubuntu-${{ matrix.os-ver }}-arm
1719

1820
steps:
1921
- uses: actions/checkout@v4
20-
- uses: dtolnay/rust-toolchain@master
22+
- if: matrix.get-rust-by == 'rt-action'
23+
uses: dtolnay/rust-toolchain@master
2124
with:
2225
toolchain: ${{ matrix.channel }}
26+
- if: matrix.get-rust-by == 'curl-sh'
27+
name: Install Rust via sh.rustup.rs
28+
run: |
29+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs |
30+
sh -s -- -y --default-toolchain ${{ matrix.channel }}
31+
echo "PATH=$HOME/.cargo/bin:$PATH" >> "$GITHUB_ENV"
2332
# - uses: Swatinem/rust-cache@v2
24-
- uses: taiki-e/install-action@v2
33+
- if: matrix.get-nextest-by == 'i-action'
34+
uses: taiki-e/install-action@v2
2535
with:
2636
tool: nextest
27-
# - name: Set RUST_MIN_STACK
28-
# if: matrix.increase-stack
29-
# run: echo RUST_MIN_STACK=16777216 >>"$GITHUB_ENV"
37+
- if: matrix.get-nextest-by == 'cargo-qi'
38+
name: Install nextest with quickinstall/binstall
39+
run: |
40+
cargo install cargo-quickinstall
41+
cargo quickinstall cargo-binstall
42+
cargo quickinstall cargo-nextest
3043
- name: Test (nextest)
3144
env:
3245
GIX_TEST_CREATE_ARCHIVES_EVEN_ON_CI: '1'

0 commit comments

Comments
 (0)