Skip to content

Commit

Permalink
ci: fix windows-latest cargo-test (#439)
Browse files Browse the repository at this point in the history
Co-authored-by: Gregory LEOCADIE <[email protected]>
  • Loading branch information
morrisonlevi and gleocadie authored May 21, 2024
1 parent f44bf09 commit d9f01bf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v4
# For some reason, the windows toolchain does not always have the
# std-*.dll in its path, so sometimes there are failures like:
# > for `datadog-ipc-macros`, command
# > `'D:\a\libdatadog\libdatadog\target\debug\deps\datadog_ipc_macros-24212d08e4e0faca.exe' --list --format terse`
# > exited with code 0xc0000135: The specified module could not be found. (os error 126)
- name: Add toolchain bin folder to PATH
if: matrix.platform == 'windows-latest'
run: |
echo "$(Join-Path -Path (rustc --print sysroot) -ChildPath bin)" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Cache
uses: ./.github/actions/cache
with:
Expand Down

0 comments on commit d9f01bf

Please sign in to comment.