Skip to content

Commit

Permalink
msvc scripts work again.
Browse files Browse the repository at this point in the history
  • Loading branch information
klemens-morgenstern committed May 12, 2023
1 parent 7625ec7 commit e65aff4
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .drone/drone.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,26 @@ call bootstrap.bat
b2 headers

echo "============> SCRIPT"
cd libs/beast

IF DEFINED DEFINE SET B2_DEFINE="define=%DEFINE%"

echo "Running tests"
b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% --verbose-test libs/beast/test -j3
cd test
b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% --verbose-test -j3
cd ..
if !errorlevel! neq 0 exit /b !errorlevel!

echo "Running libs/beast/example"
b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% libs/beast/example -j3
cd example
b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% -j3
cd ..
if !errorlevel! neq 0 exit /b !errorlevel!

echo "Running run-fat-tests"
b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% --verbose-test libs/beast/test//run-fat-tests -j3
cd test
b2 --debug-configuration variant=%VARIANT% cxxstd=%CXXSTD% %B2_DEFINE% address-model=%ADDRESS_MODEL% toolset=%TOOLSET% --verbose-test run-fat-tests -j3
cd ..
if !errorlevel! neq 0 exit /b !errorlevel!

echo "============> COMPLETED"
Expand Down

0 comments on commit e65aff4

Please sign in to comment.