azure-iot-sdk-c/jenkins/ubuntu_clang.sh

22 строки
582 B
Bash
Executable File

#!/bin/bash
# Copyright (c) Microsoft. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
set -x # Set trace on
set -o errexit # Exit if command failed
set -o nounset # Exit if variable not set
set -o pipefail # Exit if pipe failed
# Print version
cat /etc/*release | grep VERSION*
openssl version
curl --version
build_root=$(cd "$(dirname "$0")/.." && pwd)
cd $build_root
# -- C --
./build_all/linux/build.sh --run-unittests --run_valgrind --run-e2e-tests --config Debug "$@" #-x
[ $? -eq 0 ] || exit $?