Commit 15d5fe92 authored by Tomas Krizek's avatar Tomas Krizek Committed by Daniel Salzman

ci: check debian symbols in CI

parent 6909af47
......@@ -139,6 +139,19 @@ docker:knot-dns:fedora:
except:
- schedules
.pkg_symbols: &pkg_symbols
stage: test
script:
- ln -s distro/deb debian
- sed -i "s/__VERSION__/99/g" distro/deb/changelog
- dpkg-gensymbols -c4 -esrc/.libs/$LIB_NAME.so.$LIB_ABI -P. -p$LIB_NAME$LIB_ABI
allow_failure: true
except:
only:
- schedules
dependencies:
- build:debian:amd64
build:fedora:amd64:
<<: *fedora_latest
<<: *build_job
......@@ -172,6 +185,7 @@ test:ubuntu:amd64:
build:debian:amd64:
<<: *debian_stable
<<: *build_job
except: # run on schedules as well, for debian:symbols tests
test:debian:amd64:
<<: *debian_stable
......@@ -179,6 +193,27 @@ test:debian:amd64:
dependencies:
- build:debian:amd64
pkg:debian:symbols:libknot:
variables:
LIB_NAME: libknot
LIB_ABI: 8
<<: *debian_stable
<<: *pkg_symbols
pkg:debian:symbols:libdnssec:
variables:
LIB_NAME: libdnssec
LIB_ABI: 6
<<: *debian_stable
<<: *pkg_symbols
pkg:debian:symbols:libzscanner:
variables:
LIB_NAME: libzscanner
LIB_ABI: 2
<<: *debian_stable
<<: *pkg_symbols
build:debian:unstable:amd64:
<<: *debian_unstable
<<: *build_job
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment