From 02d049b8d999ccfdd5b09074f08933a4c4330c21 Mon Sep 17 00:00:00 2001 From: Al Date: Thu, 30 Nov 2017 17:18:04 -0500 Subject: [PATCH 1/2] [build] also trying make -j4 to the Windows build. Set an option on the Appveyor side that will hopefully not build twice on pull requests --- win_build.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win_build.bat b/win_build.bat index 8b0db748..f7779bbe 100644 --- a/win_build.bat +++ b/win_build.bat @@ -17,7 +17,7 @@ IF %COMPILER%==msys2 ( 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 -j4" bash -lc "cd $APPVEYOR_BUILD_FOLDER && make install" bash -lc "cd $APPVEYOR_BUILD_FOLDER && cp src/.libs/libpostal-*.dll libpostal.dll" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\lib.exe" /def:libpostal.def /out:libpostal.lib /machine:x64 From cf56da98f7df0a1cf955c91056bb4ccbd84a046c Mon Sep 17 00:00:00 2001 From: Al Date: Thu, 30 Nov 2017 17:39:24 -0500 Subject: [PATCH 2/2] [build] only build master on Appveyor so PRs don't trigger multiple builds --- .appveyor.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index eac7a36c..b14fe0a8 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -3,6 +3,10 @@ version: 1.0.{build} image: Visual Studio 2015 platform: x64 +branches: + only: + - master + environment: matrix: - COMPILER: msys2