Skip to content

Commit 4453a52

Browse files
chore: skip cargo-wdk for arm64
1 parent d603e79 commit 4453a52

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,13 @@ 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
82+
# Steps to use cargo-wdk to build and package drivers (skipping for arm64 as the base runner image is x86_64)
8383
- name: Install cargo-wdk binary
84+
if: ${{ matrix.target_arch != 'arm64' }}
8485
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
8586

8687
- name: Build and Package Sample Drivers in the workspace with cargo-wdk
88+
if: ${{ matrix.target_arch != 'arm64' }}
8789
run: cargo +${{ matrix.rust_toolchain }} wdk build --profile ${{ matrix.cargo_profile }} --target-arch ${{ matrix.target_arch }}
8890

8991
# Steps to use cargo-make to build and package drivers

0 commit comments

Comments
 (0)