Bump rustls-webpki from 0.103.5 to 0.103.10 in /tests/hello-rustls #618
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: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }} | |
| cancel-in-progress: true | |
| name: CI | |
| jobs: | |
| check: | |
| name: Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - run: cargo check --all | |
| test: | |
| name: Test Suite | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-24.04, macos-latest, windows-latest] | |
| toolchain: [stable, nightly] | |
| cross-compiler: [clang-cl, clang] | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| XWIN_CROSS_COMPILER: ${{ matrix.cross-compiler }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: seanmiddleditch/gha-setup-ninja@master | |
| - name: Install dependencies | |
| if: startsWith(matrix.os, 'macos') | |
| run: | | |
| brew install gnu-tar llvm cmake | |
| echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH | |
| - name: Install dependencies | |
| if: startsWith(matrix.os, 'ubuntu') | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install --quiet -y clang wine-stable | |
| - name: Install Clang | |
| if: startsWith(matrix.os, 'windows') | |
| run: choco install -y llvm | |
| - uses: dtolnay/rust-toolchain@master | |
| id: rustup | |
| with: | |
| toolchain: ${{ matrix.toolchain }} | |
| components: llvm-tools | |
| - name: Cache cargo build | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Cache test crates cargo build | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| tests/hello-tls/target | |
| tests/hello-windows/target | |
| tests/libhello/target | |
| tests/bindeps-cross-target/target | |
| key: test-crates-${{ runner.os }}-${{ steps.rustup.outputs.cachekey }}-${{ hashFiles('tests/*/Cargo.lock') }} | |
| - run: cargo build --release | |
| - name: xwin build - x86_64 | |
| run: | | |
| rustup target add x86_64-pc-windows-msvc | |
| cargo run --release xwin build --target x86_64-pc-windows-msvc --manifest-path tests/libhello/Cargo.toml | |
| cargo run --release xwin build --target x86_64-pc-windows-msvc --manifest-path tests/hello-tls/Cargo.toml | |
| cargo run --release xwin build --target x86_64-pc-windows-msvc --manifest-path tests/hello-rustls/Cargo.toml | |
| # Test using default build target from config | |
| cargo run --release xwin build --manifest-path tests/hello-windows/Cargo.toml | |
| - name: xwin build - x86_64 static CRT | |
| env: | |
| RUSTFLAGS: "-C target-feature=+crt-static" | |
| run: | | |
| # Test static CRT linkage using hello-rustls | |
| target/release/cargo-xwin build --target x86_64-pc-windows-msvc --manifest-path tests/hello-rustls/Cargo.toml | |
| - name: xwin run - x86_64 | |
| if: startsWith(matrix.os, 'ubuntu') | |
| run: | | |
| cargo run --release xwin run --target x86_64-pc-windows-msvc --manifest-path tests/hello-windows/Cargo.toml | |
| - name: xwin test - x86_64 | |
| if: startsWith(matrix.os, 'ubuntu') | |
| run: | | |
| cargo run --release xwin test --target x86_64-pc-windows-msvc --manifest-path tests/hello-windows/Cargo.toml | |
| - name: xwin build - bindeps cross-target (nightly only) | |
| if: startsWith(matrix.os, 'ubuntu') && matrix.toolchain == 'nightly' | |
| run: | | |
| cargo run --release xwin build --target x86_64-pc-windows-msvc --manifest-path tests/bindeps-cross-target/Cargo.toml -Z bindeps | |
| - name: xwin build - aarch64 | |
| run: | | |
| rustup target add aarch64-pc-windows-msvc | |
| cargo run --release xwin build --target aarch64-pc-windows-msvc --manifest-path tests/libhello/Cargo.toml | |
| cargo run --release xwin build --target aarch64-pc-windows-msvc --manifest-path tests/hello-windows/Cargo.toml | |
| cargo run --release xwin build --target aarch64-pc-windows-msvc --manifest-path tests/hello-tls/Cargo.toml | |
| # - name: xwin build - aarch64 static CRT | |
| # env: | |
| # RUSTFLAGS: "-C target-feature=+crt-static" | |
| # run: | | |
| # # Test static CRT linkage using hello-rustls | |
| # target/release/cargo-xwin build --target aarch64-pc-windows-msvc --manifest-path tests/hello-rustls/Cargo.toml | |
| msrv: | |
| name: MSRV | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@1.89.0 | |
| - run: cargo check | |
| fmt: | |
| name: Rustfmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt | |
| - run: cargo fmt --all -- --check | |
| clippy: | |
| name: Clippy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - run: cargo clippy --all-features | |
| spellcheck: | |
| name: spellcheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: codespell-project/actions-codespell@master |