From c6d29327f1fc830fd3121a8443acc1a7e9358abf Mon Sep 17 00:00:00 2001
From: Florian Fischer <florian.fischer@muhq.space>
Date: Tue, 21 Sep 2021 12:29:51 +0200
Subject: [PATCH] [CI] add more test for various io configuration

* single io_uring
* pipe sleep strategy
* pipe sleep strategy without completer
---
 .gitlab-ci.yml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ab88b35e..6781ce19 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -101,6 +101,18 @@ clang-tidy:
   variables:
     EMPER_USERSPACE_RCU: 'true'
 
+.emper-pipe-sleep-strategy:
+  variables:
+    EMPER_WORKER_SLEEP_STRATEGY: 'pipe'
+
+.emper-no-completer:
+  variables:
+    EMPER_IO_COMPLETER_BEHAVIOR: 'none'
+
+.emper-single-uring:
+  variables:
+    EMPER_IO_SINGLE_URING: 'true'
+
 .default-library-static:
   variables:
     EMPER_DEFAULT_LIBRARY: 'static'
@@ -272,3 +284,19 @@ test-mmapped-log:
   extends:
     - .meson-test
   script: make && EMPER_LOG_FILE=emper.log make test
+
+test-single-uring:
+  extends:
+    - .test
+    - .emper-single-uring
+
+test-pipe-sleep-strategy:
+  extends:
+    - .test
+    - .emper-pipe-sleep-strategy
+
+test-pipe-sleep-strategy-no-completer:
+  extends:
+    - .test
+    - .emper-pipe-sleep-strategy
+    - .emper-no-completer
-- 
GitLab