CI · the platform legs match the Gitea runners; the Linux leg tests as a plain user
CI / platforms (windows-latest) (push) Failing after 1s
CI / crate (push) Failing after 36s
CI / platforms (ubuntu-24.04) (push) Successful in 5m33s
CI / site (push) Successful in 46s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-10 02:27:26 -04:00
1 parent 49ed1f8405
commit 44a7debfb6
1 file changed
+11 -2
+11 -2
View File
@@ -22,7 +22,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm, windows-latest, windows-11-arm, macos-15-intel]
# One leg per runner registered with git.zacharyzhang.com; macOS arm64 is the crate job above.
os: [ubuntu-24.04, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
@@ -30,7 +31,15 @@ jobs:
with:
toolchain: "1.95"
- uses: Swatinem/rust-cache@v2
- run: cargo test --lib --features test-support --quiet
- if: runner.os != 'Linux'
run: cargo test --lib --features test-support --quiet
# The Linux job container runs as root, which ignores the file permissions the tests check.
- if: runner.os == 'Linux'
run: |
useradd --create-home ci
chmod o+x "$HOME"
chown -R ci "$GITHUB_WORKSPACE" "$HOME/.cargo" "$HOME/.rustup"
runuser -u ci -- env HOME=/home/ci CARGO_HOME="$HOME/.cargo" RUSTUP_HOME="$HOME/.rustup" PATH="$PATH" cargo test --lib --features test-support --quiet
- run: cargo build --example gallery
site: