Skip to content

Commit 363a5ed

Browse files
chore: swap cargo make & cargo wdk run positions for debugging pipeline issue
1 parent 5c80123 commit 363a5ed

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build.yaml

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

81-
# Steps to use cargo-wdk to build and package drivers (skipping for arm64 as the base runner image is x86_64)
82-
- 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 --profile ${{matrix.cargo_profile}}
84-
85-
- name: Build and Package Sample Drivers in the workspace with cargo-wdk
86-
run: cargo +${{ matrix.rust_toolchain }} wdk build --profile ${{ matrix.cargo_profile }} --target-arch ${{ matrix.target_triple.arch }}
87-
continue-on-error: true # cargo-wdk build fails for a known reason
88-
8981
# Steps to use cargo-make to build and package drivers
9082
- name: Install Cargo Make
9183
uses: taiki-e/install-action@v2
@@ -94,3 +86,11 @@ jobs:
9486

9587
- name: Build and Package Sample Drivers
9688
run: cargo make default +${{ matrix.rust_toolchain }} --locked --profile ${{ matrix.cargo_profile }} --target ${{ matrix.target_triple.name }}
89+
90+
# Steps to use cargo-wdk to build and package drivers (skipping for arm64 as the base runner image is x86_64)
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 --force --profile ${{matrix.cargo_profile}}
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_triple.arch }}
96+
continue-on-error: true # cargo-wdk build fails for a known reason

0 commit comments

Comments
 (0)