Skip to content

Commit f62deb7

Browse files
committed
ci: build tntcxx with SSL but test without it
We are unable to test SSL conection without tarantool-ee, but we still can build tarantool with SSL and skip ClientSSL test. Let's do so.
1 parent ff00c24 commit f62deb7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/testing.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,13 @@ jobs:
2020
mode:
2121
- Debug
2222
- Release
23+
test-ssl:
24+
- Disabled
2325

2426
runs-on: ${{ matrix.runs-on }}
2527

28+
name: ${{ matrix.runs-on }} (${{ matrix.mode }}, ${{ matrix.test-ssl }} ssl test)
29+
2630
steps:
2731
- name: Clone the connector
2832
uses: actions/checkout@v3
@@ -41,8 +45,13 @@ jobs:
4145
run: |
4246
mkdir build
4347
cd build
44-
cmake -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -DTNTCXX_BUILD_TESTING=ON -DTNTCXX_ENABLE_SSL=OFF ..
48+
cmake -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -DTNTCXX_BUILD_TESTING=ON -DTNTCXX_ENABLE_SSL=ON ..
4549
make -j
4650
51+
- name: test without SSL
52+
if: matrix.test-ssl == 'Disabled'
53+
run: cd build && ctest --output-on-failure -E ClientSSL.test
54+
4755
- name: test
56+
if: matrix.test-ssl == 'Enabled'
4857
run: cd build && ctest --output-on-failure

0 commit comments

Comments
 (0)