diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..ca2b4fd --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,36 @@ +variables: + SHARED_LIBS: "ON" + SECURE_LOG_LEVEL: "debug" + +include: + - template: Jobs/Code-Quality.gitlab-ci.yml + - template: Jobs/Secret-Detection.gitlab-ci.yml + - template: Jobs/SAST.gitlab-ci.yml + - template: Jobs/Dependency-Scanning.gitlab-ci.yml + - template: Jobs/Code-Quality.gitlab-ci.yml + + +stages: + - build + - test + +.build-job-ubuntu-22: + image: ubuntu:22.04 + before_script: + - apt-get update && apt-get upgrade -y + - apt-get install -y gcc g++ cmake wget git python3 python3-pip python3-setuptools + script: + - cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS='$SHARED_LIBS' -B "build/" + - cmake --build build/ --config Release + +build-job-ubuntu-22-shared-libs-on: + extends: .build-job-ubuntu-22 + stage: build + variables: + SHARED_LIBS: "ON" + +build-job-ubuntu-22-shared-libs-off: + extends: .build-job-ubuntu-22 + stage: build + variables: + SHARED_LIBS: "OFF" \ No newline at end of file diff --git a/src/fw-pktfilter.c b/src/fw-pktfilter.c index d378d7a..1ba7c5b 100644 --- a/src/fw-pktfilter.c +++ b/src/fw-pktfilter.c @@ -2,7 +2,7 @@ * fw-pktfilter.c * * Copyright (c) 2002 Dug Song - * Copyright (c) 2001 Jean-Baptiste Marchand, Hervé Schauer Consultants. + * Copyright (c) 2001 Jean-Baptiste Marchand, HervĂ© Schauer Consultants. * * $Id$ */