language: cpp
dist: bionic
-script: ci/build.sh
+script: ci/build
jobs:
include:
- elfutils
- libzstd1-dev
before_install:
- - source ./misc/install_cuda.sh
+ - source ./ci/install-cuda.sh
# Job 5: Build on Linux with 32-bit MinGW cross-compiler
- os: linux
# Job 11: Build binary package, extract it out of source, run tests.
- os: linux
- env: T="Build binary and verify" VERBOSE=1 SPECIAL=build_and_verify_package
+ env: T="Build binary and verify" VERBOSE=1 SPECIAL=build-and-verify-package
addons:
apt:
packages:
# Job 12: Build source package, extract it out of source, run tests.
- os: linux
- env: T="Build source package and verify" VERBOSE=1 SPECIAL=build_and_verify_package_source
+ env: T="Build source package and verify" VERBOSE=1 SPECIAL=build-and-verify-package-source
addons:
apt:
packages:
# This script is used by .travis.yml and build-in-docker
if [ -n "${SPECIAL}" ]; then
- sh ci/${SPECIAL}.sh
+ sh ci/${SPECIAL}
else
mkdir -p ${BUILDDIR:-build}
cd ${BUILDDIR:-build}
#!/bin/bash
-# This script runs ci/build.sh in a Docker container.
+# This script runs ci/build in a Docker container.
#
# Usage:
#
# build-in-docker NAME [ARGUMENTS]
#
# NAME: Sudirectory name in the dockerfiles directory.
-# ARGUMENTS: Arguments that will be passed to ci/build.sh.
+# ARGUMENTS: Arguments that will be passed to ci/build.
set -eu
--env NO_TEST="${NO_TEST:-}" \
--env CCACHE_DIR=/ccache \
"$tag" \
- /source/ci/build.sh "$@"
+ /source/ci/build "$@"