From ac2222dbf3446099847beab8a64514aa589466fe Mon Sep 17 00:00:00 2001 From: HMH Date: Sun, 26 Jul 2020 18:42:53 +0200 Subject: [PATCH] Fix broken windows build - again ... https://github.com/actions/virtual-environments/pull/1081 introduced WSL with a useless bash placeholder which sometimes shadows the actual bash executable. Delete it! --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef0d20cb..5e4802a3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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