mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-03 23:55:06 +00:00
build: initial build step in circle
Signed-off-by: Lorenzo Fontana <lo@linux.com>
This commit is contained in:
committed by
Leo Di Donato
parent
f593ad52b1
commit
a2c0d90260
@@ -10,4 +10,18 @@ jobs:
|
|||||||
command: apt update -y
|
command: apt update -y
|
||||||
- run:
|
- run:
|
||||||
name: install dependencies
|
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
|
||||||
|
Reference in New Issue
Block a user