Compare commits
1 commit
master
...
new-win-bu
Author | SHA1 | Date | |
---|---|---|---|
|
d9a7d634a7 |
3 changed files with 11 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
||||||
environment:
|
environment:
|
||||||
msvs_toolset: 14
|
msvs_toolset: 14
|
||||||
BOOST_VERSION: 59
|
BOOST_VERSION: 59
|
||||||
|
ICU_VERSION: 56
|
||||||
FASTBUILD: 1
|
FASTBUILD: 1
|
||||||
matrix:
|
matrix:
|
||||||
- platform: x64
|
- platform: x64
|
||||||
|
|
|
@ -10,10 +10,14 @@ SET APPVEYOR=true
|
||||||
SET LOCAL_BUILD_DONT_SKIP_TESTS=true
|
SET LOCAL_BUILD_DONT_SKIP_TESTS=true
|
||||||
SET FASTBUILD=1
|
SET FASTBUILD=1
|
||||||
|
|
||||||
FOR /F "tokens=1 usebackq" %%i in (`powershell .\scripts\parse-appveyor-yml.ps1`) DO SET BOOST_VERSION=%%i
|
FOR /F "tokens=1 usebackq" %%i in (`powershell .\scripts\parse-appveyor-yml.ps1 "BOOST_VERSION: "`) DO SET BOOST_VERSION=%%i
|
||||||
ECHO BOOST_VERSION found in appveyor.yml^: %BOOST_VERSION%
|
ECHO BOOST_VERSION found in appveyor.yml^: %BOOST_VERSION%
|
||||||
IF "%BOOST_VERSION%"=="0" ECHO BOOST_VERSION not valid && SET ERRORLEVEL=1 && GOTO ERROR
|
IF "%BOOST_VERSION%"=="0" ECHO BOOST_VERSION not valid && SET ERRORLEVEL=1 && GOTO ERROR
|
||||||
|
|
||||||
|
FOR /F "tokens=1 usebackq" %%i in (`powershell .\scripts\parse-appveyor-yml.ps1 "ICU_VERSION: "`) DO SET ICU_VERSION=%%i
|
||||||
|
ECHO ICU_VERSION found in appveyor.yml^: %ICU_VERSION%
|
||||||
|
IF "%ICU_VERSION%"=="0" ECHO ICU_VERSION not valid && SET ERRORLEVEL=1 && GOTO ERROR
|
||||||
|
|
||||||
|
|
||||||
:: OVERRIDE PARAMETERS >>>>>>>>
|
:: OVERRIDE PARAMETERS >>>>>>>>
|
||||||
:NEXT-ARG
|
:NEXT-ARG
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
$ErrorActionPreference = 'Stop'
|
$ErrorActionPreference = 'Stop'
|
||||||
$boost_version='0'
|
$pattern=$args[0]
|
||||||
|
$version='0'
|
||||||
Get-Content .\appveyor.yml |
|
Get-Content .\appveyor.yml |
|
||||||
foreach {
|
foreach {
|
||||||
if ($_ -match "BOOST_VERSION: "){ $boost_version = $_.split()[-1] }
|
if ($_ -match $pattern){ $version = $_.split()[-1] }
|
||||||
}
|
}
|
||||||
Write-Host $boost_version
|
Write-Host $version
|
||||||
|
|
Loading…
Reference in a new issue