build: initial build step in circle

Signed-off-by: Lorenzo Fontana <lo@linux.com>
This commit is contained in:
Lorenzo Fontana
2020-01-14 15:50:51 +01:00
committed by Leo Di Donato
parent f593ad52b1
commit a2c0d90260

View File

@@ -10,4 +10,18 @@ jobs:
command: apt update -y
- run:
name: install dependencies
command: sudo apt install libssl-dev libyaml-dev libncurses-dev libc-ares-dev libprotobuf-dev protobuf-compiler libjq-dev libyaml-cpp-dev libgrpc++-dev protobuf-compiler-grpc rpm linux-headers-$(uname -r) libelf-dev -y
command: apt install libssl-dev libyaml-dev libncurses-dev libc-ares-dev libprotobuf-dev protobuf-compiler libjq-dev libyaml-cpp-dev libgrpc++-dev protobuf-compiler-grpc rpm linux-headers-$(uname -r) libelf-dev cmake build-essential libcurl4-openssl-dev -y
- run:
name: build all
command: |
mkdir build
pushd build
cmake ..
make -j4 all
popd
- run:
name: run unit tests
command: |
pushd build
make tests
popd