]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: check libkres symbols file
authorTomas Krizek <tomas.krizek@nic.cz>
Tue, 14 Aug 2018 13:04:48 +0000 (15:04 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Fri, 17 Aug 2018 16:25:53 +0000 (16:25 +0000)
.gitlab-ci.yml

index 91306776f3b416d71191929fff5bcd614242fd51..7b69099a50072c62783b9b803ef8ab2a6a7df2ce 100644 (file)
@@ -513,6 +513,27 @@ obs:devel:
     - scripts/build-in-obs.sh knot-dns-devel  # build against latest development version of knot
     - scripts/build-in-obs.sh knot-resolver-devel  # build against knot in knot-resolver-latest
 
+pkg:debian:symbols:libkres:
+  variables:
+    LIB_NAME: libkres
+    LIB_ABI: 8
+  stage: deploy
+  only:
+    variables:
+      - $OBS_BUILD == "1"
+    refs:
+      - nightly@knot/knot-resolver
+  except:
+    - master@knot/knot-resolver
+  script:
+    - ln -s distro/deb debian
+    - sed -i "s/__VERSION__/99/g" distro/deb/changelog
+    - dpkg-gensymbols -c4 -elib/$LIB_NAME.so.$LIB_ABI -P. -p$LIB_NAME$LIB_ABI
+  allow_failure: true
+  dependencies:
+    - build:linux:amd64
+
+
 # copy snapshot of current master to nightly branch for further processing
 # (this is workaround for missing complex conditions for job limits in Gitlab)
 nightly:copy: