2
0
mirror of https://github.com/boostorg/mysql.git synced 2026-01-20 16:52:11 +00:00
Files
mysql/tools/scripts/build_windows_local.bat
Anarthal (Rubén Pérez) 793b678287 Updated file copyrights to 2025
2025-02-11 20:42:41 +01:00

18 lines
714 B
Batchfile

@REM
@REM Copyright (c) 2019-2025 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
@REM
@REM Distributed under the Boost Software License, Version 1.0. (See accompanying
@REM file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@REM
SET IMAGE=build-msvc14_3
SET IMAGE_TAG=latest
SET SCRIPT_PATH=%~dp0
SET CONTAINER="builder-%IMAGE%"
docker start %CONTAINER% || docker run -dit --name %CONTAINER% -v "%SCRIPT_PATH%..\..:C:\boost-mysql" "ghcr.io/anarthal-containers/%IMAGE%:%IMAGE_TAG%" || exit /b 1
docker exec %CONTAINER% python.exe "C:\boost-mysql\tools\ci\main.py" --source-dir=C:\boost-mysql b2 --toolset=msvc ^
--cxxstd=20 ^
--variant=debug ^
--address-model=64 || exit /b 1