build(deps): bump cc from 1.0.99 to 1.0.100 #371
Workflow file for this run
This file contains 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
name: Windows | |
on: push | |
jobs: | |
build-windows: | |
runs-on: windows-2022 | |
strategy: | |
fail-fast: false | |
matrix: | |
arch: [x86_64] | |
variant: [gnu, msvc] | |
channel: [stable] | |
# Change the line above to the following for more Rust channels: | |
# channel: [stable, beta, nightly] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: choco install msys2 | |
if: matrix.variant == 'gnu' | |
- run: rustup default ${{ matrix.channel }}-pc-windows-${{ matrix.variant }} | |
- run: rustup target add ${{ matrix.arch }}-pc-windows-${{ matrix.variant }} | |
- name: Show toolchain versions | |
run: | | |
cargo --version --verbose | |
rustc --version --verbose | |
- name: Apply Windows-specific patch | |
run: git apply --ignore-whitespace ci\windows.patch | |
- name: Build application | |
run: cargo build --verbose --target ${{ matrix.arch }}-pc-windows-${{ matrix.variant }} | |
- name: Run tests | |
# network tests can be a bit flaky, so try up to three times | |
run: cargo test --verbose --target ${{ matrix.arch }}-pc-windows-${{ matrix.variant }} || cargo test --verbose --target ${{ matrix.arch }}-pc-windows-${{ matrix.variant }} || cargo test --verbose --target ${{ matrix.arch }}-pc-windows-${{ matrix.variant }} |