Skip to content

Commit

Permalink
Fix broken windows build - again ...
Browse files Browse the repository at this point in the history
actions/runner-images#1081 introduced WSL
with a useless bash placeholder which sometimes shadows the actual bash
executable. Delete it!
  • Loading branch information
H-M-H committed Jul 26, 2020
1 parent a2a02ca commit ac2222d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ jobs:

- os: windows-latest
install-deps: |
# This is not bash but a placeholder from WSL that tells you to install some WSL crap
# and by doing so it shadows the actual bash executable when calling CreateProcess from
# winapi, which rust's std::Command does ...
rm 'C:\Windows\System32\bash.exe'
curl -LO https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/nasm-2.14.02-win64.zip
7z x nasm-2.14.02-win64.zip
cp nasm-2.14.02/nasm.exe /usr/bin/nasm.exe
Expand Down

0 comments on commit ac2222d

Please sign in to comment.