Fix bugs in AppVeyor config and build script. Added call to test script.

This commit is contained in:
AeroXuk
2017-11-19 13:35:08 +00:00
parent 2d3b420d35
commit dbf232b8f8
2 changed files with 4 additions and 6 deletions

View File

@@ -16,11 +16,8 @@ environment:
MSYSTEM: MINGW64 MSYSTEM: MINGW64
BIT: 64 BIT: 64
install:
-'%APPVEYOR_BUILD_FOLDER%\win_install.bat'
build_script: build_script:
- '%APPVEYOR_BUILD_FOLDER%\win_build.bat' - '%APPVEYOR_BUILD_FOLDER%\win_build.bat'
test_script: test_script:
- 'echo No tests yet' - '%APPVEYOR_BUILD_FOLDER%\test\test_libpostal.exe'

View File

@@ -14,8 +14,9 @@ IF %COMPILER%==msys2 (
@echo on @echo on
SET "PATH=C:\%MSYS2_DIR%\%MSYSTEM%\bin;C:\%MSYS2_DIR%\usr\bin;%PATH%" SET "PATH=C:\%MSYS2_DIR%\%MSYSTEM%\bin;C:\%MSYS2_DIR%\usr\bin;%PATH%"
bash -lc "cd $APPVEYOR_BUILD_FOLDER && . bootstrap.sh" bash -lc "cd $APPVEYOR_BUILD_FOLDER && cp -rf windows/* ./"
bash -lc "cd $APPVEYOR_BUILD_FOLDER && . configure --datadir=$APPVEYOR_BUILD_FOLDER/data" bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./bootstrap.sh"
bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./configure --datadir=/c"
bash -lc "cd $APPVEYOR_BUILD_FOLDER && make" bash -lc "cd $APPVEYOR_BUILD_FOLDER && make"
bash -lc "cd $APPVEYOR_BUILD_FOLDER && make install" bash -lc "cd $APPVEYOR_BUILD_FOLDER && make install"
) )