Adapt build script for test data for AppVeyor
This commit is contained in:
parent
fae1c737a3
commit
9b5458840a
@ -135,10 +135,21 @@ IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
|||||||
ECHO running library-tests.exe ...
|
ECHO running library-tests.exe ...
|
||||||
SET test_region=monaco
|
SET test_region=monaco
|
||||||
SET test_osm=%test_region%.osm.pbf
|
SET test_osm=%test_region%.osm.pbf
|
||||||
|
SET test_osm_ch=%test_region%_CH.osm.pbf
|
||||||
|
SET test_osm_corech=%test_region%_CoreCH.osm.pbf
|
||||||
|
SET test_osm_mld=%test_region%_MLD.osm.pbf
|
||||||
IF NOT EXIST %test_osm% powershell Invoke-WebRequest https://s3.amazonaws.com/mapbox/osrm/testing/monaco.osm.pbf -OutFile %test_osm%
|
IF NOT EXIST %test_osm% powershell Invoke-WebRequest https://s3.amazonaws.com/mapbox/osrm/testing/monaco.osm.pbf -OutFile %test_osm%
|
||||||
%Configuration%\osrm-extract.exe -p ../profiles/car.lua %test_osm%
|
COPY %test_osm% %test_osm_ch%
|
||||||
%Configuration%\osrm-contract.exe %test_region%.osrm
|
COPY %test_osm% %test_osm_corech%
|
||||||
unit_tests\%Configuration%\library-tests.exe %test_region%.osrm
|
COPY %test_osm% %test_osm_mld%
|
||||||
|
%Configuration%\osrm-extract.exe -p ../profiles/car.lua %test_osm_ch%
|
||||||
|
%Configuration%\osrm-extract.exe -p ../profiles/car.lua %test_osm_corech%
|
||||||
|
%Configuration%\osrm-extract.exe -p ../profiles/car.lua %test_osm_mld%
|
||||||
|
%Configuration%\osrm-contract.exe %test_region_ch%.osrm
|
||||||
|
%Configuration%\osrm-contract.exe --core 0.8 %test_region_corech%.osrm
|
||||||
|
%Configuration%\osrm-contract.exe %test_region_mld%.osrm
|
||||||
|
%Configuration%\osrm-partition.exe %test_region_mld%.osrm
|
||||||
|
unit_tests\%Configuration%\library-tests.exe
|
||||||
|
|
||||||
IF NOT "%APPVEYOR_REPO_BRANCH%"=="master" GOTO DONE
|
IF NOT "%APPVEYOR_REPO_BRANCH%"=="master" GOTO DONE
|
||||||
ECHO ========= CREATING PACKAGES ==========
|
ECHO ========= CREATING PACKAGES ==========
|
||||||
|
Loading…
Reference in New Issue
Block a user