From d016baa334610873c4164559d1ceae8d42dc75d1 Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Fri, 31 May 2024 16:39:54 +0200 Subject: [PATCH] Fix encoding (iso-8859 -> utf-8) and add GL CI config (#98) * Fix encoding (iso-8859 -> utf-8) * Initial CI config --- .gitlab-ci.yml | 36 ++++++++++++++++++++++++++++++++++++ src/fw-pktfilter.c | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..ca2b4fd0 --- /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 d378d7a4..1ba7c5b2 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$ */