-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AppVeyor: include osrm.lib in artifact. don't stick to AppVeyor direc…
…tory structure in build scripts.
- Loading branch information
1 parent
345d5e8
commit d208080
Showing
3 changed files
with
43 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,32 @@ | ||
@ECHO OFF | ||
SETLOCAL | ||
SET EL=0 | ||
|
||
ECHO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %~f0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
SET PLATFORM=x64 | ||
SET CONFIGURATION=Release | ||
|
||
WHERE msbuild | ||
IF %ERRORLEVEL% EQU 0 GOTO RUNBUILD | ||
|
||
FOR /F "tokens=*" %%i in ('git rev-parse --abbrev-ref HEAD') do SET APPVEYOR_REPO_BRANCH=%%i | ||
ECHO APPVEYOR_REPO_BRANCH^: %APPVEYOR_REPO_BRANCH% | ||
|
||
SET PATH=C:\mb\windows-builds-64\tmp-bin\cmake-3.1.0-win32-x86\bin;%PATH% | ||
SET PATH=C:\Program Files\7-Zip;%PATH% | ||
ECHO activating VS command prompt ... | ||
SET PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% | ||
CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 | ||
|
||
:RUNBUILD | ||
|
||
powershell Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted -Force | ||
IF %ERRORLEVEL% NEQ 0 GOTO ERROR | ||
CALL appveyor-build.bat | ||
EXIT /b %ERRORLEVEL% | ||
IF %ERRORLEVEL% NEQ 0 GOTO ERROR | ||
|
||
GOTO DONE | ||
|
||
|
||
:ERROR | ||
ECHO ~~~~~~~~~~~~~~~~~~~~~~ ERROR %~f0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
ECHO ERRORLEVEL^: %ERRORLEVEL% | ||
SET EL=%ERRORLEVEL% | ||
|
||
:DONE | ||
ECHO ~~~~~~~~~~~~~~~~~~~~~~ DONE %~f0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
EXIT /b %EL% |