mirror of
https://github.com/boostorg/process.git
synced 2026-01-19 04:22:15 +00:00
34 lines
936 B
Batchfile
Executable File
34 lines
936 B
Batchfile
Executable File
@ECHO ON
|
|
setlocal enabledelayedexpansion
|
|
|
|
if "%DRONE_JOB_BUILDTYPE%" == "boost" (
|
|
|
|
echo '==================================> INSTALL'
|
|
|
|
git clone https://github.com/boostorg/boost-ci.git boost-ci-cloned --depth 1
|
|
cp -prf boost-ci-cloned/ci .
|
|
rm -rf boost-ci-cloned
|
|
|
|
REM source ci/travis/install.sh
|
|
REM The contents of install.sh below:
|
|
|
|
for /F %%i in ("%DRONE_REPO%") do @set SELF=%%~nxi
|
|
SET BOOST_CI_TARGET_BRANCH=%DRONE_COMMIT_BRANCH%
|
|
SET BOOST_CI_SRC_FOLDER=%cd%
|
|
|
|
call ci\common_install.bat
|
|
|
|
echo '==================================> COMPILE'
|
|
|
|
REM set B2_TARGETS=libs/!SELF!/test libs/!SELF!/example
|
|
set B2_TARGETS=libs/!SELF!/test
|
|
|
|
cd !BOOST_ROOT!
|
|
call bootstrap.bat
|
|
b2 headers
|
|
b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% define=%DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% --verbose-test libs/!SELF!/test libs/!SELF!/example -j3
|
|
) else if "%DRONE_JOB_BUILDTYPE%" == "standalone-windows" (
|
|
|
|
REM not used
|
|
|
|
) |