Commit 66c982b9 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

CI: syntax fixes

parent c4804184
...@@ -51,6 +51,6 @@ script: ...@@ -51,6 +51,6 @@ script:
- find '/c/Program Files (x86)/Microsoft Visual Studio/2017' -name "vcvarsall.bat" - find '/c/Program Files (x86)/Microsoft Visual Studio/2017' -name "vcvarsall.bat"
- echo inside BuildTools/Common7/Tools - echo inside BuildTools/Common7/Tools
- ls '/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/Common7/Tools' - ls '/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/Common7/Tools'
- cmd.exe /s /c "call C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\Common7\\Tools\\VsDevCmd.bat /help" - cmd.exe /c 'call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\Common7\\Tools\\VsDevCmd.bat" /help'
- echo $PATH - echo $PATH
- ctest -VV -S ./ci.cmake - ctest -VV -S ./ci.cmake
...@@ -8,7 +8,7 @@ eval "$(python -c ' ...@@ -8,7 +8,7 @@ eval "$(python -c '
import sys, os, subprocess import sys, os, subprocess
import distutils.msvc9compiler as msvc import distutils.msvc9compiler as msvc
msvc.find_vcvarsall=lambda _: sys.argv[1] msvc.find_vcvarsall=lambda _: sys.argv[1]
envs=msvc.query_vcvarsall(arch='amd64') envs=msvc.query_vcvarsall(arch="amd64")
for k,v in envs.items(): for k,v in envs.items():
k = k.upper() k = k.upper()
v = ":".join(subprocess.check_output(["cygpath","-u",p]).decode("utf-8").rstrip(" \n") for p in v.split(";")) v = ":".join(subprocess.check_output(["cygpath","-u",p]).decode("utf-8").rstrip(" \n") for p in v.split(";"))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment