Skip to content

Commit

Permalink
Fix issue with windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald committed Oct 23, 2023
1 parent 3ed37c3 commit 629be78
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,17 @@ jobs:
with:
tool: cargo-nextest,cargo-llvm-cov

# Cache step must go before warp and mesa install on windows as they write into the
# target directory, and rust-cache will overwrite the entirety of the target directory.
- name: caching
uses: Swatinem/rust-cache@v2
if: matrix.os[0] != 'self-hosted'
with:
key: test-${{ matrix.os }}-${{ env.CACHE_SUFFIX }}
workspaces: |
. -> target
xtask -> xtask/target
- name: (windows) install warp
if: matrix.os == 'windows-2022'
shell: bash
Expand Down Expand Up @@ -350,15 +361,6 @@ jobs:
[profile.dev]
debug = 1" >> .cargo/config.toml
- name: caching
uses: Swatinem/rust-cache@v2
if: matrix.os[0] != 'self-hosted'
with:
key: test-${{ matrix.os }}-${{ env.CACHE_SUFFIX }}
workspaces: |
. -> target
xtask -> xtask/target
- name: run wgpu-info
shell: bash
run: |
Expand Down

0 comments on commit 629be78

Please sign in to comment.