Files
rpc/scripts/jenkins-pre-build.sh
Bill Mahoney 67202dc5d3 ci: update build for scanning
Signed-off-by: Bill Mahoney <bill.mahoney@intel.com>
2021-03-31 18:11:41 -07:00

21 lines
430 B
Bash
Executable File

#!/bin/bash
# Jenkins Pre Build script
# - Ubuntu 18.04
#
apt update
apt install git cmake build-essential curl zip unzip tar pkg-config -y
## current dir - RPC source directory
#export BASE_DIR="$PWD"
#cd "$BASE_DIR"/rpc
## build vcpkg
git -C vcpkg pull || git clone --branch 2020.11-1 https://github.com/microsoft/vcpkg.git vcpkg
cd vcpkg
./bootstrap-vcpkg.sh
## install CPPRestSDK
./vcpkg install cpprestsdk[websockets]