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