Automated update to rustc nightly-2026-05-14 #689
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: [push, pull_request] | |
| name: Continuous Integration | |
| permissions: | |
| contents: read | |
| jobs: | |
| Test: # 6 jobs: 3 toolchains × 2 lock files. | |
| name: Test - ${{ matrix.toolchain }} toolchain (${{ matrix.dep }}) | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| dep: [recent] | |
| toolchain: [stable, nightly, msrv] | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - uses: rust-bitcoin/rust-bitcoin-maintainer-tools/.github/actions/setup-rbmt@af3c2868415b17eedc808da6d0589e10b7482660 # v0.1.0 | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Run ${{ matrix.toolchain }} tests | |
| run: | | |
| export ELEMENTSD_EXE="$PWD/elementsd-tests/bin/elementsd" | |
| if [ "${{ matrix.toolchain }}" = "msrv" ]; then | |
| MSRV="$(cargo rbmt toolchains --msrv)" | |
| cp "Cargo-${{ matrix.dep }}.lock" Cargo.lock | |
| cargo +"$MSRV" test --locked | |
| else | |
| cargo rbmt --lock-file ${{ matrix.dep }} test --toolchain ${{ matrix.toolchain }} | |
| fi | |
| Lint: | |
| name: Lint - nightly toolchain | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout Crate | |
| uses: actions/checkout@v4 | |
| - uses: rust-bitcoin/rust-bitcoin-maintainer-tools/.github/actions/setup-rbmt@af3c2868415b17eedc808da6d0589e10b7482660 # v0.1.0 | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Run lints | |
| run: cargo rbmt --lock-file recent lint | |
| Docs: | |
| name: Docs - stable toolchain | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout Crate | |
| uses: actions/checkout@v4 | |
| - uses: rust-bitcoin/rust-bitcoin-maintainer-tools/.github/actions/setup-rbmt@af3c2868415b17eedc808da6d0589e10b7482660 # v0.1.0 | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Run doc tests | |
| run: cargo rbmt --lock-file recent docs | |
| Docsrs: | |
| name: Docs - nightly toolchain | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout Crate | |
| uses: actions/checkout@v4 | |
| - uses: rust-bitcoin/rust-bitcoin-maintainer-tools/.github/actions/setup-rbmt@af3c2868415b17eedc808da6d0589e10b7482660 # v0.1.0 | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Run docsrs tests | |
| run: cargo rbmt --lock-file recent docsrs | |
| # Format: # 1 job, run cargo fmt directly. | |
| # name: Format - nightly toolchain | |
| # runs-on: ubuntu-24.04 | |
| # steps: | |
| # - name: Checkout Crate | |
| # uses: actions/checkout@v4 | |
| # - uses: rust-bitcoin/rust-bitcoin-maintainer-tools/.github/actions/setup-rbmt@af3c2868415b17eedc808da6d0589e10b7482660 # v0.1.0 | |
| # - name: Check formatting | |
| # run: cargo rbmt --lock-file recent fmt --check | |
| Bench: | |
| name: Bench - nightly toolchain | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout Crate | |
| uses: actions/checkout@v4 | |
| - uses: rust-bitcoin/rust-bitcoin-maintainer-tools/.github/actions/setup-rbmt@af3c2868415b17eedc808da6d0589e10b7482660 # v0.1.0 | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Run benches | |
| run: cargo rbmt --lock-file recent bench | |
| Arch32bit: | |
| name: Test 32-bit version | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout Crate | |
| uses: actions/checkout@v4 | |
| - name: Checkout Toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Add architecture i386 | |
| run: sudo dpkg --add-architecture i386 | |
| - name: Install i686 gcc | |
| run: sudo apt-get update -y && sudo apt-get install -y gcc-multilib | |
| - name: Install target | |
| run: rustup target add i686-unknown-linux-gnu | |
| - name: Run tests on i686 | |
| run: cargo test --target i686-unknown-linux-gnu | |
| Cross: | |
| name: Cross test | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout Crate | |
| uses: actions/checkout@v4 | |
| - name: Checkout Toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Install target | |
| run: rustup target add s390x-unknown-linux-gnu | |
| - name: install cross | |
| run: cargo install cross --locked | |
| - name: run cross test | |
| run: cross test --target s390x-unknown-linux-gnu | |
| Wasm: | |
| name: Check WASM | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - name: Checkout Crate | |
| uses: actions/checkout@v3 | |
| - name: Checkout Toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - run: rustup target add wasm32-unknown-unknown | |
| - run: cargo check --target wasm32-unknown-unknown |