summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2016-09-29 09:59:06 -0700
committerGitHub <noreply@github.com>2016-09-29 09:59:06 -0700
commitcd58d43228996198b5ba329f7c05109f2aaee65a (patch)
tree62166e8ec93573e1a5b6312e721fb5c24bfc18fc /appveyor.yml
parent258cab91ab702e82d477b41bb1c6a026c848bda5 (diff)
parent0e691e76dbd928b4aa919cbb9788c805e34937dc (diff)
downloadfork-ledger-cd58d43228996198b5ba329f7c05109f2aaee65a.tar.gz
fork-ledger-cd58d43228996198b5ba329f7c05109f2aaee65a.tar.bz2
fork-ledger-cd58d43228996198b5ba329f7c05109f2aaee65a.zip
Merge pull request #467 from schmave/win-2
Fix test harness to work with msys2
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml22
1 files changed, 19 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml
index c44dfeb3..94a4fe0f 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -16,13 +16,29 @@ build_script:
- C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -S mingw-w64-i686-boost"
- C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -S mingw-w64-i686-mpfr"
- C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -S mingw-w64-i686-cmake"
-- C:\msys64\usr\bin\bash -lc "export PATH=/mingw32/bin:$PATH && cd $APPVEYOR_BUILD_FOLDER && cmake -G 'MSYS Makefiles'"
-- C:\msys64\usr\bin\bash -lc "export PATH=/mingw32/bin:$PATH && cd $APPVEYOR_BUILD_FOLDER && make -j2"
+- C:\msys64\usr\bin\bash -lc "export PATH=/mingw32/bin:$PATH && cd $APPVEYOR_BUILD_FOLDER &&
+ cmake -G 'MSYS Makefiles'"
+- C:\msys64\usr\bin\bash -lc "export PATH=/mingw32/bin:$PATH && cd $APPVEYOR_BUILD_FOLDER &&
+ make -j2"
after_build:
- set LIB_DIR=C:\msys64\mingw32\bin
-- 7z a ledger-win.zip %APPVEYOR_BUILD_FOLDER%\ledger.exe %LIB_DIR%\libboost_filesystem-mt.dll %LIB_DIR%\libboost_regex-mt.dll %LIB_DIR%\libboost_system-mt.dll %LIB_DIR%\libgcc_s_dw2-1.dll %LIB_DIR%\libgmp-10.dll %LIB_DIR%\libicudt57.dll %LIB_DIR%\libicuuc57.dll %APPVEYOR_BUILD_FOLDER%\libledger.dll %LIB_DIR%\libstdc++-6.dll %LIB_DIR%\libwinpthread-1.dll
+- 7z a ledger-win.zip %APPVEYOR_BUILD_FOLDER%\ledger.exe
+ %LIB_DIR%\libboost_filesystem-mt.dll
+ %LIB_DIR%\libboost_regex-mt.dll
+ %LIB_DIR%\libboost_system-mt.dll
+ %LIB_DIR%\libgcc_s_dw2-1.dll
+ %LIB_DIR%\libgmp-10.dll
+ %LIB_DIR%\libicudt57.dll
+ %LIB_DIR%\libicuuc57.dll
+ %LIB_DIR%\libstdc++-6.dll
+ %LIB_DIR%\libwinpthread-1.dll
+ %APPVEYOR_BUILD_FOLDER%\libledger.dll
artifacts:
- path: ledger-win.zip
name: Ledger Win32 binaries
+
+test_script:
+- C:\msys64\usr\bin\bash -lc "export MINGW_PREFIX=C:/msys64/mingw32/ CTEST_OUTPUT_ON_FAILURE=1
+ PATH=/mingw32/bin:$PATH && cd $APPVEYOR_BUILD_FOLDER && make test"