File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }}
You can’t perform that action at this time.
0 commit comments