20 lines
354 B
Bash
Executable File
20 lines
354 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
|
|
# Jenkins Build script
|
|
# - Ubuntu 18.04
|
|
#
|
|
|
|
export CMAKE_CXX_FLAGS="-isystem /usr/lib/gcc/x86_64-linux-gnu/7/include"
|
|
cd "$BASE_DIR"/rpc
|
|
|
|
if [ -d "build" ]; then
|
|
rm -rf build
|
|
fi
|
|
|
|
mkdir build
|
|
cd build
|
|
cmake -DCMAKE_TOOLCHAIN_FILE="$BASE_DIR"/rpc/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release ..
|
|
cmake --build .
|