mysql/tools/scripts/build_unix_local.sh
Ruben Perez b51115668d Added support for the static interface
Added support for the static interface
Statement execution now supports bool and optionals
Replaced the FieldLikeTuple and FieldLike concepts
    by WritableFieldTuple and WritableField
Added diagnostics::client_message
Solved a problem with blob types and stored procedures
    under MariaDB
Removed a troublesome assert in row_impl
Protected numeric_limits min/max from intrusive macros
Added C++11/14 order management examples
Documentation section collapsing
Test Jamfiles now show output only on failure

close #60
close #153
close #154
2023-05-22 14:05:12 +02:00

45 lines
1.2 KiB
Bash
Executable File

#!/bin/bash
#
# Copyright (c) 2019-2023 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
set -e
BK=docs
IMAGE=build-docs
SHA=a6ccc56343736f8b4edea3686c92d9856469fa36
CONTAINER=builder-$IMAGE-$BK
FULL_IMAGE=ghcr.io/anarthal-containers/$IMAGE:$SHA
DB=mysql8
docker start $DB
docker start $CONTAINER || docker run -dit \
--name $CONTAINER \
-v ~/workspace/mysql:/opt/boost-mysql \
-v /var/run/mysqld:/var/run/mysqld \
$FULL_IMAGE
docker network connect my-net $CONTAINER || echo "Network already connected"
docker exec $CONTAINER python /opt/boost-mysql/tools/ci.py --source-dir=/opt/boost-mysql \
--build-kind=$BK \
--build-shared-libs=1 \
--valgrind=0 \
--coverage=0 \
--clean=0 \
--toolset=gcc \
--cxxstd=20 \
--variant=debug \
--cmake-standalone-tests=1 \
--cmake-add-subdir-tests=1 \
--cmake-install-tests=1 \
--cmake-build-type=Debug \
--stdlib=native \
--server-host=$DB \
--db=$DB
if [ "$BK" == "docs" ]; then
cp -r ~/workspace/mysql/doc/html ~/workspace/boost-root/libs/mysql/doc/
fi