You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
683 B
Bash
31 lines
683 B
Bash
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) Contributors to the Open 3D Engine Project.
|
|
# For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
#
|
|
#
|
|
|
|
set -o errexit # exit on the first failure encountered
|
|
|
|
BASEDIR=$(dirname "$0")
|
|
source $BASEDIR/env_linux.sh
|
|
|
|
mkdir -p ${OUTPUT_DIRECTORY}
|
|
SOURCE_DIRECTORY=${PWD}
|
|
pushd $OUTPUT_DIRECTORY
|
|
|
|
if ! command -v cpack &> /dev/null; then
|
|
echo "[ci_build] CPack not found"
|
|
exit 1
|
|
fi
|
|
|
|
echo [ci_build] cpack --version
|
|
cpack --version
|
|
|
|
eval echo [ci_build] cpack -C ${CONFIGURATION} ${CPACK_OPTIONS}
|
|
eval cpack -C ${CONFIGURATION} ${CPACK_OPTIONS}
|
|
|
|
popd
|