Skip to content

Commit 2d5a5b4

Browse files
committed
Put back ubuntu-24.04-arm and test heavily again
Since the known issue looks like it has been fixed by switching the runners to different virtual machines. This repeats experiment 3 as well as doing a comparable experiment for the 32-bit containerized test, which had also failed to run some commands in Docker, where it was unclear if it was somehow related or a separate problem.
1 parent 34b19d3 commit 2d5a5b4

File tree

2 files changed

+103
-2
lines changed

2 files changed

+103
-2
lines changed
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
name: AArch64 SIGSEGV experiment
2+
3+
on: push
4+
5+
jobs:
6+
test-fast:
7+
strategy:
8+
matrix:
9+
num-high: [ 0, 1, 2, 3 ]
10+
os-ver: [ '22.04', '24.04' ]
11+
channel: [ stable, beta ] # `gix-macros::macros momo::ux` currently fails on `nightly`.
12+
get-rust-by: [ rt-action, curl-sh ]
13+
get-nextest-by: [ i-action, cargo-qi ]
14+
num-low: [ 0, 1, 2, 3 ]
15+
16+
fail-fast: false
17+
18+
runs-on: ubuntu-${{ matrix.os-ver }}-arm
19+
20+
steps:
21+
- uses: actions/checkout@v4
22+
- if: matrix.get-rust-by == 'rt-action'
23+
uses: dtolnay/rust-toolchain@master
24+
with:
25+
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"
32+
# - uses: Swatinem/rust-cache@v2
33+
- if: matrix.get-nextest-by == 'i-action'
34+
uses: taiki-e/install-action@v2
35+
with:
36+
tool: nextest
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
43+
- name: Test (nextest)
44+
env:
45+
GIX_TEST_CREATE_ARCHIVES_EVEN_ON_CI: '1'
46+
run: cargo nextest run --workspace --no-fail-fast
47+
- name: Doctest
48+
run: cargo test --workspace --doc --no-fail-fast
49+
- name: Check that tracked archives are up to date
50+
run: git diff --exit-code # If this fails, the fix is usually to commit a regenerated archive.
51+
52+
test-32bit:
53+
strategy:
54+
matrix:
55+
container-arch: [ arm32v7 ]
56+
num-high: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
57+
os-ver: [ '22.04', '24.04' ]
58+
num-low: [0, 1, 2, 3, 4, 5, 6, 7]
59+
include:
60+
- container-arch: arm32v7
61+
runner-arch: arm64
62+
toolchain: stable-armv7-unknown-linux-gnueabihf
63+
64+
fail-fast: false
65+
66+
runs-on: ubuntu-${{ matrix.os-ver }}-arm
67+
68+
container: ${{ matrix.container-arch }}/debian:stable-slim
69+
70+
steps:
71+
- name: Prerequisites
72+
run: |
73+
prerequisites=(
74+
build-essential
75+
ca-certificates
76+
cmake
77+
curl
78+
git
79+
jq
80+
libssl-dev
81+
libstdc++6:${{ matrix.runner-arch }} # To support external 64-bit Node.js for actions.
82+
pkgconf
83+
)
84+
dpkg --add-architecture ${{ matrix.runner-arch }}
85+
apt-get update
86+
apt-get install --no-install-recommends -y -- "${prerequisites[@]}"
87+
shell: bash
88+
- uses: actions/checkout@v4
89+
- uses: dtolnay/rust-toolchain@stable
90+
with:
91+
# Avoid possible misdetection based on the 64-bit running kernel.
92+
toolchain: ${{ matrix.toolchain }}
93+
- uses: taiki-e/install-action@v2
94+
with:
95+
tool: nextest
96+
- name: Make `system` scope nonempty for "GitInstallation" tests
97+
run: git config --system gitoxide.imaginary.arbitraryVariable arbitraryValue
98+
- name: Test (nextest)
99+
env:
100+
GIX_TEST_IGNORE_ARCHIVES: '1'
101+
run: cargo nextest run --workspace --no-fail-fast

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
- windows-latest
136136
- macos-latest
137137
- ubuntu-latest
138-
- ubuntu-22.04-arm
138+
- ubuntu-24.04-arm
139139

140140
runs-on: ${{ matrix.os }}
141141

@@ -209,7 +209,7 @@ jobs:
209209
toolchain: stable-i686-unknown-linux-gnu
210210
- container-arch: arm32v7
211211
runner-arch: arm64
212-
runner-os: ubuntu-22.04-arm
212+
runner-os: ubuntu-24.04-arm
213213
toolchain: stable-armv7-unknown-linux-gnueabihf
214214

215215
runs-on: ${{ matrix.runner-os }}

0 commit comments

Comments
 (0)