summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2016-09-17 14:41:15 -0700
committerGitHub <noreply@github.com>2016-09-17 14:41:15 -0700
commit132156766770da8340138aab117cf7e37787403c (patch)
tree5f837949c367f435d947833c6f52e37473357ee6 /appveyor.yml
parenta3b573e1107729e743c96da8ed9272361ba6ae31 (diff)
parentc193cc3a5b4dbf39e19744cf4d30e616298eaa86 (diff)
downloadfork-ledger-132156766770da8340138aab117cf7e37787403c.tar.gz
fork-ledger-132156766770da8340138aab117cf7e37787403c.tar.bz2
fork-ledger-132156766770da8340138aab117cf7e37787403c.zip
Merge pull request #466 from schmave/win-1
Fix build under msys32; add Appveyor continuous build
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..c44dfeb3
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,28 @@
+version: build-{build}
+
+image: Visual Studio 2013
+
+shallow_clone: true # don't download repo history
+
+install:
+- time /t
+- tzutil /s "Eastern Standard Time_dstoff"
+- time /t
+
+build_script:
+- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Sy pacman"
+- C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Sy pacman-mirrors"
+- C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Syu"
+- 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"
+
+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
+
+artifacts:
+ - path: ledger-win.zip
+ name: Ledger Win32 binaries