Fix bugs in AppVeyor config and build script. Added call to test script.
This commit is contained in:
@@ -16,11 +16,8 @@ environment:
|
||||
MSYSTEM: MINGW64
|
||||
BIT: 64
|
||||
|
||||
install:
|
||||
-'%APPVEYOR_BUILD_FOLDER%\win_install.bat'
|
||||
|
||||
build_script:
|
||||
- '%APPVEYOR_BUILD_FOLDER%\win_build.bat'
|
||||
|
||||
test_script:
|
||||
- 'echo No tests yet'
|
||||
- '%APPVEYOR_BUILD_FOLDER%\test\test_libpostal.exe'
|
||||
|
||||
@@ -14,8 +14,9 @@ IF %COMPILER%==msys2 (
|
||||
@echo on
|
||||
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 && . configure --datadir=$APPVEYOR_BUILD_FOLDER/data"
|
||||
bash -lc "cd $APPVEYOR_BUILD_FOLDER && cp -rf windows/* ./"
|
||||
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 install"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user