diff options
author | Patrick Steinhardt <ps@pks.im> | 2019-06-24 16:19:35 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2019-07-20 19:10:10 +0200 |
commit | ffac520e8301ed83fb229dec7393898bf00df423 (patch) | |
tree | 6ff2fd85dea4a5a5f8d90673f7f90f887dfb56df /ci/build.sh | |
parent | d827b11b670f3331e5d924eadfe35c497b08035a (diff) | |
download | libgit2-ffac520e8301ed83fb229dec7393898bf00df423.tar.gz |
azure: move build scripts into "azure-pipelines" directory
Since we have migrated to Azure Pipelines, we have deprecated and
subsequentally removed all infrastructure for AppVeyor and
Travis. Thus it doesn't make a lot of sense to have the split
between "ci/" and "azure-pipelines/" directories anymoer, as
"azure-pipelines/" is essentially our only CI.
Move all CI scripts into the "azure-pipelines/" directory to have
everything centrally located and to remove clutter in the
top-level directory.
Diffstat (limited to 'ci/build.sh')
-rwxr-xr-x | ci/build.sh | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/ci/build.sh b/ci/build.sh deleted file mode 100755 index 7ffa610ae..000000000 --- a/ci/build.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/usr/bin/env bash -# -# Environment variables: -# -# SOURCE_DIR: Set to the directory of the libgit2 source (optional) -# If not set, it will be derived relative to this script. - -set -e - -SOURCE_DIR=${SOURCE_DIR:-$( cd "$( dirname "${BASH_SOURCE[0]}" )" && dirname $( pwd ) )} -BUILD_DIR=$(pwd) -CC=${CC:-cc} - -indent() { sed "s/^/ /"; } - -echo "Source directory: ${SOURCE_DIR}" -echo "Build directory: ${BUILD_DIR}" -echo "" - -if [ "$(uname -s)" = "Darwin" ]; then - echo "macOS version:" - sw_vers | indent -fi - -if [ -f "/etc/debian_version" ]; then - echo "Debian version:" - lsb_release -a | indent -fi - -echo "Kernel version:" -uname -a 2>&1 | indent - -echo "CMake version:" -cmake --version 2>&1 | indent -echo "Compiler version:" -$CC --version 2>&1 | indent -echo "" - -echo "##############################################################################" -echo "## Configuring build environment" -echo "##############################################################################" - -echo cmake ${SOURCE_DIR} -DENABLE_WERROR=ON -DBUILD_EXAMPLES=ON -DBUILD_FUZZERS=ON -DUSE_STANDALONE_FUZZERS=ON ${CMAKE_OPTIONS} -cmake ${SOURCE_DIR} -DENABLE_WERROR=ON -DBUILD_EXAMPLES=ON -DBUILD_FUZZERS=ON -DUSE_STANDALONE_FUZZERS=ON ${CMAKE_OPTIONS} - -echo "" -echo "##############################################################################" -echo "## Building libgit2" -echo "##############################################################################" - -cmake --build . |