From 0166a3ce38e0ea9a48d2399e5b1554b656bccd35 Mon Sep 17 00:00:00 2001 From: Heikki Tampio Date: Mon, 30 Jan 2023 13:48:49 +0200 Subject: [PATCH] ci: Add examples to CI testing --- .gitlab-ci.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b6313f04..fcf51222 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,7 @@ build_with_crypto: - bin/uvgrtp expire_in: 1 week -unit_tests: +tests_with_crypto: stage: test script: - mkdir build && cd build @@ -38,3 +38,28 @@ unit_tests: paths: - bin/uvgrtp expire_in: 1 week + +examples_with_crypto: + stage: test + script: + - mkdir build && cd build + - apt -y install libcrypto++-dev + - cmake .. + - make + - cd examples + - make + - ./binding + - ./configuration + - ./custom_timestamps + - ./receiving_hook + - ./receiving_poll + - ./rtcp_hook + - ./sending + - ./sending_generic + - ./srtp_user + - ./zrtp_multistream + + artifacts: + paths: + - bin/uvgrtp + expire_in: 1 week