dncurrency/ci/actions/windows/build.bat
clemahieu 9b2d4a6709
Adding boost as a submodule rather than requiring it to be provided externally.
The boost libs are now statically linked to the nano targets so dynamic linking related functionality has been removed.
Adding several target link references that were missing but not apparent when using the unified boost install directories
Linking to boost stacktrace basic as this is the main functionality we use.
Windows Event Log support has been disabled as there is a compatibility issue with GitHub builders
Windows cryptopp ASM has been disabled since CMake isn't assembling .asm files for unknown reasons.
Added boost_checkout_lite.sh script which can be used to do a minimal clone of the boost submodule after it's been added but not yet initialized.
2023-01-13 16:20:34 +00:00

29 lines
443 B
Batchfile

@echo off
set exit_code=0
goto %RUN%
:test
cmake --build . ^
--target core_test ^
--config %BUILD_TYPE% ^
-- /m:2
set exit_code=%errorlevel%
if %exit_code% neq 0 goto exit
cmake --build . ^
--target rpc_test ^
--config %BUILD_TYPE% ^
-- /m:2
set exit_code=%errorlevel%
goto exit
:artifact
cmake --build . ^
--target INSTALL ^
--config %BUILD_TYPE% ^
-- /m:2
set exit_code=%errorlevel%
goto exit
:exit
exit /B %exit_code%