Skip to content

ci: set RUST_TEST_THREADS=1 on musl to prevent concurrent PTY SIGSEGV #7

ci: set RUST_TEST_THREADS=1 on musl to prevent concurrent PTY SIGSEGV

ci: set RUST_TEST_THREADS=1 on musl to prevent concurrent PTY SIGSEGV #7

Workflow file for this run

name: Musl Stability Test
permissions:
contents: read
on:
push:
branches:
- claude/reproduce-flaky-failure-RuwlG
concurrency:
group: musl-stability-${{ github.sha }}
jobs:
test-musl:
name: Test (musl) - Run ${{ matrix.run }}
strategy:
fail-fast: false
matrix:
run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
runs-on: ubuntu-latest
container:
image: node:22-alpine3.21
options: --shm-size=256m
env:
RUSTFLAGS: --cfg tokio_unstable -D warnings -C target-feature=-crt-static
RUST_TEST_THREADS: 1
steps:
- name: Install Alpine dependencies
shell: sh {0}
run: apk add --no-cache bash curl git musl-dev gcc g++ python3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
- name: Install rustup
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
- name: Install Rust toolchain
run: rustup show
- name: Install pnpm and Node tools
run: |
corepack enable
pnpm install
- run: cargo test