]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
gitlab-ci: add an NSS check.
authorNick Mathewson <nickm@torproject.org>
Mon, 21 Sep 2020 13:26:57 +0000 (09:26 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 21 Sep 2020 16:58:49 +0000 (12:58 -0400)
.gitlab-ci.yml

index 7fd07b9ed92f141e9b7dd5dff6eb16f108f8a1b2..43154d12f5c7a09ff5af14c36a3c3992d1bf3eeb 100644 (file)
@@ -89,6 +89,7 @@ variables:
     - if [ "$DOXYGEN" = yes ]; then apt-get install doxygen; fi
     - if [ "$STEM" = yes ]; then apt-get install timelimit; fi
     - if [ "$CC" = clang ]; then apt-get install clang; fi
+    - if [ "$NSS" = yes ]; then apt-get install libnss3 libnss3-dev; fi
     # TODO: This next line should not be debian-only.
     - if [ "$STEM" = yes ]; then git clone --depth 1 https://git.torproject.org/stem.git ; export STEM_PATH="$(pwd)/stem"; fi
     # TODO: This next line should not be debian-only.
@@ -214,3 +215,13 @@ debian-disable-relay:
     - if: '$CI_PIPELINE_SOURCE == "push"'
       exists:
         - src/feature/relay/relay_stub.c
+
+#####
+# NSS check on debian
+debian-nss:
+  image: debian:stable
+  <<: *debian-template
+  variables:
+    NSS: "yes"
+  script:
+    - ./scripts/ci/ci-driver.sh