Skip to content

Commit

Permalink
Fix encoding (iso-8859 -> utf-8) and add GL CI config (#98)
Browse files Browse the repository at this point in the history
* Fix encoding (iso-8859 -> utf-8)

* Initial CI config
  • Loading branch information
ofalk authored May 31, 2024
1 parent 60d8c06 commit d016baa
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion src/fw-pktfilter.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* fw-pktfilter.c
*
* Copyright (c) 2002 Dug Song <dugsong@monkey.org>
* Copyright (c) 2001 Jean-Baptiste Marchand, Hervé Schauer Consultants.
* Copyright (c) 2001 Jean-Baptiste Marchand, Hervé Schauer Consultants.
*
* $Id$
*/
Expand Down

0 comments on commit d016baa

Please sign in to comment.