Attempt to fix the Windows build.
It appears that there's a link.exe from GNU coreutils on the path before
the one from Visual Studio.
@@ -50,10 +50,13 @@ jobs:
- script: |
+ echo Deleting stupid link.exe from the path...
+ del c:\Program Files\Git\usr\bin\link.exe
+ echo Checking that we're calling the correct link.exe
+ where link.exe
echo Creating build directory...
mkdir build
cd build
- echo Importing visual studio environment variables...
echo Running cmake...
cmake .. -G Ninja -DTESTS=ON -DCMAKE_C_COMPILER="c:/Program Files/LLVM/bin/clang-cl.exe" -DCMAKE_CXX_COMPILER="c:/Program Files/LLVM/bin/clang-cl.exe"
echo CMake completed.
@@ -64,7 +67,6 @@ jobs:
- script: |
cd build
dir
- echo Importing visual studio environment variables...
set CCC_OVERRIDE_OPTIONS=x-TC x-TP x/TC x/TP
echo Running ninja...
ninja
