diff options
| author | Even Rouault <even.rouault@mines-paris.org> | 2018-06-18 21:18:49 +0200 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2018-06-18 21:18:49 +0200 |
| commit | ea61acb9fdb6c7f6c2084f36924d7860380320e2 (patch) | |
| tree | 8f1330477b6316686fcf52465cd842d0698b705f /appveyor.yml | |
| parent | 6b77f5fa536de4c373cb97664fde7ce08cac022a (diff) | |
| download | PROJ-ea61acb9fdb6c7f6c2084f36924d7860380320e2.tar.gz PROJ-ea61acb9fdb6c7f6c2084f36924d7860380320e2.zip | |
Add pj_phi2_test (#1039 & #1045)
Nigrated from:
schwehr/gdal-autotest2:cpp/third_party/proj/pj_phi2_test.cc@master
License intentionally changed from Apache 2 to match PROJ.
Diffstat (limited to 'appveyor.yml')
| -rw-r--r-- | appveyor.yml | 42 |
1 files changed, 29 insertions, 13 deletions
diff --git a/appveyor.yml b/appveyor.yml index 0c92cae2..ec08f20c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -34,8 +34,18 @@ build_script: - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x64" SET VS_FULL=%VS_VERSION% Win64 - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x86" SET VS_FULL=%VS_VERSION% - if "%BUILD_TYPE%" == "cmake" echo "%VS_FULL%" - - if "%BUILD_TYPE%" == "cmake" cmake -G "%VS_FULL%" . -DCMAKE_BUILD_TYPE=Release -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE=../bin -DBUILD_LIBPROJ_SHARED=ON -DCMAKE_C_FLAGS="/WX" - - if "%BUILD_TYPE%" == "cmake" cmake --build . --config Release +# + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x64" mkdir build_dll + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x64" cd build_dll + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x64" cmake -G "%VS_FULL%" .. -DCMAKE_BUILD_TYPE=Release -DBUILD_LIBPROJ_SHARED=ON -DCMAKE_C_FLAGS="/WX" + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x64" cmake --build . --config Release + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x64" cd .. +# + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x86" mkdir build_static + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x86" cd build_static + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x86" cmake -G "%VS_FULL%" .. -DCMAKE_BUILD_TYPE=Release -DBUILD_LIBPROJ_SHARED=OFF -DCMAKE_C_FLAGS="/WX" + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x86" cmake --build . --config Release + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x86" cd .. test_script: - echo test_script @@ -49,17 +59,23 @@ test_script: - 7z e -aoa -y proj-datumgrid-1.7.zip - dir - cd .. - - dir - - cd bin - - echo "Contents of current directory:" - - dir - - echo "Contents of ..\test\gie:" - - dir ..\test\gie - - echo "Contents of PROJ_LIB " %PROJ_LIB% - - dir %PROJ_LIB% - - gie.exe ..\test\gie\*.gie ..\test\gigs\*.gie + - if "%BUILD_TYPE%" == "nmake" dir + - if "%BUILD_TYPE%" == "nmake" cd bin + - if "%BUILD_TYPE%" == "nmake" echo "Contents of current directory:" + - if "%BUILD_TYPE%" == "nmake" dir + - if "%BUILD_TYPE%" == "nmake" echo "Contents of ..\test\gie:" + - if "%BUILD_TYPE%" == "nmake" dir ..\test\gie + - if "%BUILD_TYPE%" == "nmake" echo "Contents of PROJ_LIB " %PROJ_LIB% + - if "%BUILD_TYPE%" == "nmake" dir %PROJ_LIB% + - if "%BUILD_TYPE%" == "nmake" gie.exe ..\test\gie\*.gie ..\test\gigs\*.gie - cd %CURDIR% - - if "%BUILD_TYPE%" == "cmake" set PATH=C:\projects\proj-4\bin;%PATH% - - if "%BUILD_TYPE%" == "cmake" ctest -C Release +# + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x64" cd build_dll + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x64" ctest -C Release + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x64" cd .. +# + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x86" cd build_static + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x86" ctest -C Release + - if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x86" cd .. deploy: off |
