chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

View File

@@ -0,0 +1,53 @@
name: Release-plz
on:
push:
branches:
- master
jobs:
release-plz-release:
name: Release-plz release
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'Amanieu' }}
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: release-plz/action@v0.5
with:
command: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
release-plz-pr:
name: Release-plz PR
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'Amanieu' }}
permissions:
pull-requests: write
contents: write
concurrency:
group: release-plz-${{ github.ref }}
cancel-in-progress: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: release-plz/action@v0.5
with:
command: release-pr
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

View File

@@ -0,0 +1,68 @@
name: Rust
on:
push:
branches:
- trying
- staging
pull_request:
env:
CARGO_INCREMENTAL: 0
RUST_TEST_THREADS: 1
jobs:
build_tier_one:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: [ubuntu, macos, windows]
channel: [stable, beta, nightly]
feature: [arc_lock, serde, deadlock_detection]
include:
- channel: nightly
feature: nightly
os: ubuntu
- channel: nightly
feature: hardware-lock-elision
os: ubuntu
steps:
- uses: actions/checkout@v4
- run: rustup default ${{ matrix.channel }}
- run: cargo build --all
- run: cargo test --all
- run: cargo build --all --features ${{ matrix.feature }}
- run: cargo test --all --features ${{ matrix.feature }}
if: matrix.feature == 'nightly'
- run: cargo install cargo-msrv
- run: cargo msrv --workspace verify
build_other_platforms:
runs-on: ubuntu-latest
strategy:
matrix:
target:
- wasm32-unknown-unknown
- x86_64-fortanix-unknown-sgx
- x86_64-unknown-redox
- x86_64-linux-android
steps:
- uses: actions/checkout@v4
- run: rustup default nightly
- run: rustup target add ${{ matrix.target }}
- run: cargo build --workspace --target ${{ matrix.target }} --features nightly
build_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup default nightly
- run: cargo doc --workspace --features arc_lock,serde,deadlock_detection --no-deps -p parking_lot -p parking_lot_core -p lock_api
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup default nightly
- run: |
cd benchmark
cargo run --release --bin mutex -- 2 1 0 1 2
cargo run --release --bin rwlock -- 1 1 1 0 1 2