mirror of
https://github.com/boostorg/boost-ci.git
synced 2026-01-20 16:32:13 +00:00
Build is done manually by the regular build.sh script. All we need is the setup (setting of CXXFLAGS etc.) and the upload part. This allows to easily run multiple build runs (e.g. in different configurations) Closes #94
20 lines
536 B
Bash
Executable File
20 lines
536 B
Bash
Executable File
#! /bin/bash
|
|
#
|
|
# Copyright 2021 Alexander Grund
|
|
# 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)
|
|
#
|
|
# Bash script to run on Github to perform codecov.io integration
|
|
#
|
|
|
|
set -ex
|
|
|
|
source $(dirname "${BASH_SOURCE[0]}")/../codecov.sh "$1"
|
|
|
|
if [[ "$1" == "setup" ]]; then
|
|
echo "B2_VARIANT=$B2_VARIANT" >> "$GITHUB_ENV"
|
|
echo "B2_CXXFLAGS=$B2_CXXFLAGS" >> "$GITHUB_ENV"
|
|
echo "B2_LINKFLAGS=$B2_LINKFLAGS" >> "$GITHUB_ENV"
|
|
fi
|