diff options
author | David Robillard <d@drobilla.net> | 2023-04-03 09:00:39 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-04-06 07:19:10 -0400 |
commit | 6f037eb7334f414619ca90ad216740f9ccf6f23e (patch) | |
tree | a81f3b9915a482d601551f17ce6a407e00a149bf /.gitlab-ci.yml | |
parent | 40d98e4f4299e6da6455ff415d961de73db39e27 (diff) | |
download | serd-6f037eb7334f414619ca90ad216740f9ccf6f23e.tar.gz serd-6f037eb7334f414619ca90ad216740f9ccf6f23e.tar.bz2 serd-6f037eb7334f414619ca90ad216740f9ccf6f23e.zip |
Add Fedora row and run lint tests on CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d91add2..67dfaad7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,12 +17,12 @@ dev: stage: build image: lv2plugin/debian-x64 script: - - meson setup build -Dc_std=c11 -Dbuildtype=debug -Ddocs=enabled -Dwarning_level=3 -Dwerror=true -Db_coverage=true + - meson setup build -Dc_std=c11 -Dbuildtype=debug -Ddocs=enabled -Dwarning_level=3 -Dwerror=true -Db_coverage=true -Dlint=true - ninja -C build test - ninja -C build coverage-html - mkdir -p build/doc/ - cp doc/*.svg build/doc/ - - meson configure -Dbuildtype=release -Db_coverage=false build + - meson configure -Dbuildtype=release -Db_coverage=false -Dlint=false build - ninja -C build test coverage: '/ *lines\.*: \d+\.\d+.*/' artifacts: @@ -50,6 +50,17 @@ sanitize: CXXFLAGS: "-fno-sanitize-recover=all -fsanitize=address -fsanitize=undefined -fsanitize=float-divide-by-zero -fsanitize=unsigned-integer-overflow -fsanitize=implicit-conversion -fsanitize=local-bounds -fsanitize=nullability" LDFLAGS: "-fno-sanitize-recover=all -fsanitize=address -fsanitize=undefined -fsanitize=float-divide-by-zero -fsanitize=unsigned-integer-overflow -fsanitize=implicit-conversion -fsanitize=local-bounds -fsanitize=nullability" +# Linux Distributions + +fedora: + stage: build + image: lv2plugin/fedora-big + script: + - meson setup build -Dbuildtype=plain -Dwarning_level=3 -Dlint=true -Dwerror=true + - ninja -C build test + variables: + CFLAGS: -O2 -D_FORTIFY_SOURCE=2 + # Linux Platforms arm32: |