Skip to content

Commit 45bc035

Browse files
chore: make chages to build pipeline to use specific commit of cargo-wdk and use fail fast strategy on the matrix
1 parent 363a5ed commit 45bc035

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
build:
1717
name: Build
1818
runs-on: windows-latest
19-
continue-on-error: true # Since remaining jobs are just cancelled on one job failure, we could allow them to finish and report the errors
2019
strategy:
20+
fail-fast: false # Allow all matrix variants to complete even if some fail
2121
matrix:
2222
wdk:
2323
- Microsoft.WindowsWDK.10.0.22621 # NI WDK
@@ -87,10 +87,10 @@ jobs:
8787
- name: Build and Package Sample Drivers
8888
run: cargo make default +${{ matrix.rust_toolchain }} --locked --profile ${{ matrix.cargo_profile }} --target ${{ matrix.target_triple.name }}
8989

90-
# Steps to use cargo-wdk to build and package drivers (skipping for arm64 as the base runner image is x86_64)
90+
# Steps to use cargo-wdk to build and package drivers (uses cargo-wdk at specific commit https://github.com/microsoft/windows-drivers-rs/commit/5b9aa0a14e385daf5217c0f5232bcd4d3f4780a6)
9191
- name: Install cargo-wdk binary
92-
run: cargo +${{ matrix.rust_toolchain }} install --git https://github.com/svasista-ms/windows-drivers-rs.git cargo-wdk --branch integrate-cargo-wdk --locked --force --profile ${{matrix.cargo_profile}}
92+
run: cargo +${{ matrix.rust_toolchain }} install --git https://github.com/microsoft/windows-drivers-rs.git cargo-wdk --branch main --rev 5b9aa0a14e385daf5217c0f5232bcd4d3f4780a6 --locked --force
9393

94-
- name: Build and Package Sample Drivers in the workspace with cargo-wdk
94+
- name: Build and Package Sample Drivers with cargo-wdk
9595
run: cargo +${{ matrix.rust_toolchain }} wdk build --profile ${{ matrix.cargo_profile }} --target-arch ${{ matrix.target_triple.arch }}
9696
continue-on-error: true # cargo-wdk build fails for a known reason

0 commit comments

Comments
 (0)