mirror of
https://github.com/microsoft/GSL.git
synced 2025-03-15 19:01:20 -04:00
fix logic error in workaround
This commit is contained in:
parent
bce6ed2338
commit
cadb43819b
@ -43,9 +43,9 @@ install:
|
|||||||
$env:PATH="C:\cmake-3.8.0-win32-x86\bin;$env:PATH"
|
$env:PATH="C:\cmake-3.8.0-win32-x86\bin;$env:PATH"
|
||||||
}
|
}
|
||||||
# Workaround for lld bug with vcpkg integration
|
# Workaround for lld bug with vcpkg integration
|
||||||
- ps: |
|
if ($env:USE_TOOLSET -eq "LLVM") {
|
||||||
if ($env:USE_TOOLSET -eq "LLVM" -and
|
if (
|
||||||
(Get-Content C:\Tools\vcpkg\toolsrc\VERSION.txt).Replace('.','').Trim('"') -lt 20181020
|
Get-Content C:\Tools\vcpkg\toolsrc\VERSION.txt).Replace('.','').Trim('"') -lt 20181020
|
||||||
) {
|
) {
|
||||||
echo "Updating vcpkg..."
|
echo "Updating vcpkg..."
|
||||||
cd C:\Tools\vcpkg
|
cd C:\Tools\vcpkg
|
||||||
@ -54,6 +54,7 @@ install:
|
|||||||
} else {
|
} else {
|
||||||
echo "==> vcpkg has been updated, please remove the workaround from appveyor.yml."
|
echo "==> vcpkg has been updated, please remove the workaround from appveyor.yml."
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- ps: |
|
- ps: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user