diff --git a/.circleci/config.yml b/.circleci/config.yml index 64c5199a..fee2712f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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