Skip to content

Commit

Permalink
Install DirectX on windows-2022 runners in test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Nov 24, 2023
1 parent 6774552 commit ff0f47f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ jobs:
rust: [stable]
# test: ['std', 'no-std', 'examples']
test: ['std']
# include:
# - cache: stable
# rust: stable
include:
- cache: stable
rust: stable
- os: windows-2022
wgpu_backend: dx12
# - cache: 1-71-0
# rust: 1.71.0
# - coverage-flags: COVERAGE=1
Expand Down Expand Up @@ -115,17 +117,15 @@ jobs:
curl -L "$GRCOV_LINK/$GRCOV_VERSION/grcov-x86_64-unknown-linux-musl.tar.bz2" |
tar xj -C $HOME/.cargo/bin
- name: Install Vulkan
- name: (windows) install dxc
if: matrix.os == 'windows-2022'
uses: humbletim/[email protected]
with:
version: latest
cache: true
uses: napokue/[email protected]

- name: run checks & tests
env:
CI_RUN: 1
WGPU_BACKEND: "dx12"
WGPU_DX12_COMPILER: dxc
WGPU_BACKEND: matrix.wgpu_backend
run: ${{ matrix.coverage-flags }} cargo xtask run-checks ${{ matrix.test }}

- name: Codecov upload
Expand Down

0 comments on commit ff0f47f

Please sign in to comment.