diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 304ae24..4919dff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,3 +37,26 @@ jobs: cargo build --verbose - run: | cargo test --verbose + windows_build: + name: windows ${{ matrix.rust }} + runs-on: windows-latest + strategy: + fail-fast: false + matrix: + rust: + - 1.30.0 + - stable + - beta + - nightly + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{ matrix.rust }} + - run: rustup component add rustfmt-preview + - run: | + cargo build --verbose + - run: | + $ProgressPreference = 'SilentlyContinue' + Invoke-WebRequest -Uri "https://github.com/mesonbuild/cidata/raw/master/win32/pkg-config.exe" -OutFile pkg-config.exe + cargo test --verbose