Move Windows CI to Drone

closes #2176
This commit is contained in:
sdarwin
2021-03-02 21:16:04 +00:00
committed by Richard Hodges
parent 2ab0bd22d9
commit 9e45c4e22d
5 changed files with 46 additions and 8 deletions

28
.drone/boost-script.bat Executable file
View File

@@ -0,0 +1,28 @@
@ECHO ON
setlocal enabledelayedexpansion
echo "============> INSTALL"
SET DRONE_BUILD_DIR=%CD: =%
choco install --no-progress -y openssl --x64 --version 1.1.1.1000
mklink /D "C:\OpenSSL" "C:\Program Files\OpenSSL-Win64"
SET OPENSSL_ROOT=C:\OpenSSL
SET BOOST_BRANCH=develop
IF "%DRONE_BRANCH%" == "master" SET BOOST_BRANCH=master
cp tools\user-config.jam %USERPROFILE%\user-config.jam
cd ..
SET GET_BOOST=%DRONE_BUILD_DIR%\tools\get-boost.sh
bash -c "$GET_BOOST $DRONE_BRANCH $DRONE_BUILD_DIR"
cd boost-root
call bootstrap.bat
b2 headers
echo "============> SCRIPT"
echo "Running libs/beast/example"
b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% define=%DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% libs/beast/example -j3
echo "Running run-fat-tests"
b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% define=%DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% --verbose-test libs/beast/test//run-fat-tests -j3
echo "============> COMPLETED"

View File

@@ -0,0 +1,2 @@
true