summary refs log tree commit diff stats
path: root/testament
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2024-08-20 22:07:11 +0800
committerGitHub <noreply@github.com>2024-08-20 16:07:11 +0200
commit6336d2681b16e089b8815fddd0e79abeda9ce85b (patch)
tree99aa8346d456b1f0c980caed88ce6a2a73d2544c /testament
parentdda638c1ba985a77eac3c7518138992521884172 (diff)
downloadNim-6336d2681b16e089b8815fddd0e79abeda9ce85b.tar.gz
adds a ubuntu 24.04 matrix with gcc 14 for tests (#23673)
ref https://forum.nim-lang.org/t/11587
Diffstat (limited to 'testament')
-rw-r--r--testament/lib/stdtest/testutils.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/testament/lib/stdtest/testutils.nim b/testament/lib/stdtest/testutils.nim
index 66afd62af..a490b17c8 100644
--- a/testament/lib/stdtest/testutils.nim
+++ b/testament/lib/stdtest/testutils.nim
@@ -66,6 +66,11 @@ template enableRemoteNetworking*: bool =
   ## a `nim` invocation (possibly via additional intermediate processes).
   getEnv("NIM_TESTAMENT_REMOTE_NETWORKING") == "1"
 
+template disableSSLTesting*: bool =
+  ## TODO: workaround for GitHub Action gcc 14 matrix; remove this
+  ## matrix and the flag after Azure agent supports ubuntu 24.04
+  getEnv("NIM_TESTAMENT_DISABLE_SSL") == "1"
+
 template whenRuntimeJs*(bodyIf, bodyElse) =
   ##[
   Behaves as `when defined(js) and not nimvm` (which isn't legal yet).