summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.circleci/config.yml19
-rw-r--r--README.md1
2 files changed, 20 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 000000000..6033e1db4
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,19 @@
+version: 2.1
+
+jobs:
+ build:
+ docker:
+ - image: ubuntu:latest
+ steps:
+ - checkout
+ - run: export DEBIAN_FRONTEND=noninteractive
+ - run: apt-get update -qq
+ - run: |
+ env DEBIAN_FRONTEND=noninteractive \
+ apt-get install -y -qq \
+ coreutils wget git unzip make cmake binutils gcc g++ autoconf automake flex bison texinfo \
+ libtool pkg-config gettext libjson-c-dev flex bison libpcap-dev zlib1g-dev
+ - run: |
+ cmake -S . -B build -DENABLE_SYSTEMD=ON -DBUILD_EXAMPLES=ON -DBUILD_NDPI=ON
+ - run: |
+ cmake --build build --verbose
diff --git a/README.md b/README.md
index 993610531..2d72b143c 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
[![Build](https://github.com/utoni/nDPId/actions/workflows/build.yml/badge.svg)](https://github.com/utoni/nDPId/actions/workflows/build.yml)
[![Gitlab-CI](https://gitlab.com/utoni/nDPId/badges/main/pipeline.svg)](https://gitlab.com/utoni/nDPId/-/pipelines)
+[![Circle-CI](https://circleci.com/gh/utoni/nDPId.svg?style=shield "Circle-CI")](https://app.circleci.com/pipelines/github/utoni/nDPId)
# References