Skip to content

Commit d603e79

Browse files
chore: move build with cargo make steps after cargo-wdk steps as the cargo make build is failing
1 parent d955b74 commit d603e79

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/build.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,18 @@ jobs:
7979
- name: Run Cargo Build
8080
run: cargo +${{ matrix.rust_toolchain }} build --locked --profile ${{ matrix.cargo_profile }} --target ${{ matrix.target_triple }} --workspace
8181

82+
# Steps to use cargo-wdk to build and package drivers
83+
- name: Install cargo-wdk binary
84+
run: cargo +${{ matrix.rust_toolchain }} install --git https://github.com/svasista-ms/windows-drivers-rs.git cargo-wdk --branch integrate-cargo-wdk --locked --profile ${{ matrix.cargo_profile }} --target ${{ matrix.target_triple }} --force
85+
86+
- name: Build and Package Sample Drivers in the workspace with cargo-wdk
87+
run: cargo +${{ matrix.rust_toolchain }} wdk build --profile ${{ matrix.cargo_profile }} --target-arch ${{ matrix.target_arch }}
88+
89+
# Steps to use cargo-make to build and package drivers
8290
- name: Install Cargo Make
8391
uses: taiki-e/install-action@v2
8492
with:
8593
tool: cargo-make
8694

8795
- name: Build and Package Sample Drivers
8896
run: cargo make default +${{ matrix.rust_toolchain }} --locked --profile ${{ matrix.cargo_profile }} --target ${{ matrix.target_triple }}
89-
90-
# Steps to use cargo-wdk to build and package drivers
91-
- 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 --profile ${{ matrix.cargo_profile }} --target ${{ matrix.target_triple }} --force
93-
94-
- name: Build and Package Sample Drivers in the workspace with cargo-wdk
95-
run: cargo +${{ matrix.rust_toolchain }} wdk build --profile ${{ matrix.cargo_profile }} --target-arch ${{ matrix.target_arch }}

0 commit comments

Comments
 (0)