Skip to content

Commit 24337d5

Browse files
chore: add profile arg for installation as all 3 variants of cargo-wdk can be used for building, otherwise only default profile is used all the time
1 parent 7509968 commit 24337d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080

8181
# Steps to use cargo-wdk to build and package drivers (skipping for arm64 as the base runner image is x86_64)
8282
- name: Install cargo-wdk binary
83-
run: cargo +${{ matrix.rust_toolchain }} install --git https://github.com/svasista-ms/windows-drivers-rs.git cargo-wdk --branch integrate-cargo-wdk --locked --force
83+
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}}
8484

8585
- name: Build and Package Sample Drivers in the workspace with cargo-wdk
8686
run: cargo +${{ matrix.rust_toolchain }} wdk build --profile ${{ matrix.cargo_profile }} --target-arch ${{ matrix.target_triple.arch }}

0 commit comments

Comments
 (0)