fix(ci): add -d:ssl flag to all nim compile steps

This commit is contained in:
2026-05-07 10:32:28 +03:00
parent eaa5760fd4
commit 773c142f74
+3 -3
View File
@@ -18,20 +18,20 @@ jobs:
nim-version: '2.2.10' nim-version: '2.2.10'
- name: Run tests - name: Run tests
run: nim c --path:src -r tests/test_all.nim run: nim c -d:ssl --path:src -r tests/test_all.nim
- name: Compile benchmarks - name: Compile benchmarks
run: nim c -d:release benchmarks/bench_all.nim run: nim c -d:release benchmarks/bench_all.nim
- name: Compile stress test - name: Compile stress test
run: nim c --threads:on --path:src tests/stress_test.nim run: nim c -d:ssl --threads:on --path:src tests/stress_test.nim
- name: Run stress test - name: Run stress test
run: ./tests/stress_test run: ./tests/stress_test
- name: Check for unused declarations and imports - name: Check for unused declarations and imports
run: | run: |
nim c --path:src tests/test_all.nim 2>&1 | tee build.log || true nim c -d:ssl --path:src tests/test_all.nim 2>&1 | tee build.log || true
echo "--- Checking for XDeclaredButNotUsed hints ---" echo "--- Checking for XDeclaredButNotUsed hints ---"
grep -E "XDeclaredButNotUsed|UnusedImport" build.log | while read -r line; do grep -E "XDeclaredButNotUsed|UnusedImport" build.log | while read -r line; do
echo "::warning::$line" echo "::warning::$line"