mirror of
https://github.com/boostorg/system.git
synced 2025-07-29 20:17:13 +02:00
Update drone.bat
This commit is contained in:
@ -1,22 +1,20 @@
|
||||
@ECHO ON
|
||||
|
||||
set TRAVIS_OS_NAME=windows
|
||||
set DRONE_BUILD_DIR=%CD%
|
||||
|
||||
IF "!DRONE_BRANCH!" == "" (
|
||||
for /F %%i in ("!GITHUB_REF!") do @set TRAVIS_BRANCH=%%~nxi
|
||||
) else (
|
||||
SET TRAVIS_BRANCH=!DRONE_BRANCH!
|
||||
IF "%DRONE_BRANCH%" == "" (
|
||||
for /F %%i in ("%GITHUB_REF%") do @set DRONE_BRANCH=%%~nxi
|
||||
)
|
||||
|
||||
for /F %%i in ("%DRONE_REPO%") do @set SELF=%%~nxi
|
||||
|
||||
set BOOST_BRANCH=develop
|
||||
if "%TRAVIS_BRANCH%" == "master" set BOOST_BRANCH=master
|
||||
if "%DRONE_BRANCH%" == "master" set BOOST_BRANCH=master
|
||||
cd ..
|
||||
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\%SELF%\
|
||||
xcopy /s /e /q %DRONE_BUILD_DIR% libs\%SELF%\
|
||||
python tools/boostdep/depinst/depinst.py %SELF%
|
||||
cmd /c bootstrap
|
||||
b2 -d0 headers
|
||||
|
Reference in New Issue
Block a user