From 0332a793f5f037ab7982172debaa364325d66c72 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 5 Jan 2020 06:48:21 +0200 Subject: [PATCH] Fix Appveyor branch handling --- appveyor.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 878a552..440cb33 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -32,14 +32,16 @@ environment: build: off install: + - set BOOST_BRANCH=develop + - if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master - cd .. - - git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/boostorg/boost.git boost-root + - git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root - cd boost-root - git submodule update --init tools/boostdep - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\preprocessor\ - python tools/boostdep/depinst/depinst.py preprocessor - bootstrap - - b2 headers + - b2 -d0 headers for: -