Skip to content

Commit d68bd6f

Browse files
committed
Draft experiment to investigate rustc SIGSEGV
This is to investigate the problem on the `test-fast` job with the new ARM64 runner described in GitoxideLabs#1790. This experiment does not produce useful results yet, because it has no way to distinguish happenstance from correlation. To do that, I need either to rerun each job repeatedly, or further parameterize the matrix to do that. I'll be doing the latter, but right now this dimension has size 1 (i.e., the only value of `number` is `0`) so I don't start a large number of jobs when something is broken due to a mistake in the workflows.
1 parent cc7b614 commit d68bd6f

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: AArch64 SIGSEGV experiment
2+
3+
on: push
4+
5+
jobs:
6+
test-fast:
7+
strategy:
8+
matrix:
9+
os-ver: [ '22.04', '24.04' ]
10+
channel: [ stable, beta, nightly ]
11+
increase-stack: [ false, true ]
12+
number: [ 0 ] # FIXME: Increase, so results are meaningful.
13+
14+
fail-fast: false
15+
16+
runs-on: ubuntu-${{ matrix.os-ver }}-arm
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: dtolnay/rust-toolchain@stable
21+
with:
22+
toolchain: ${{ matrix.channel }}
23+
# - uses: Swatinem/rust-cache@v2
24+
- uses: taiki-e/install-action@v2
25+
with:
26+
tool: nextest
27+
- name: Set RUST_MIN_STACK
28+
if: matrix.increase-stack
29+
run: echo RUST_MIN_STACK=16777216 >>"$GITHUB_ENV"
30+
- name: Test (nextest)
31+
env:
32+
GIX_TEST_CREATE_ARCHIVES_EVEN_ON_CI: '1'
33+
run: cargo nextest run --workspace --no-fail-fast
34+
- name: Doctest
35+
run: cargo test --workspace --doc --no-fail-fast
36+
- name: Check that tracked archives are up to date
37+
run: git diff --exit-code # If this fails, the fix is usually to commit a regenerated archive.

0 commit comments

Comments
 (0)