Skip to content

Commit 5c1f6ac

Browse files
drewdzzzalyapunov
authored andcommitted
ci: build and test tntcxx on ubuntu 20.04
The runner uses Tarantool 2.11 for tests for stability and have both release and debug versions.
1 parent fed0c81 commit 5c1f6ac

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/debug.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: debug
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
push:
7+
branches: [ "master" ]
8+
tags: [ "*" ]
9+
10+
jobs:
11+
ubuntu_20_04:
12+
runs-on: ubuntu-20.04
13+
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
tarantool:
18+
- '2.11'
19+
mode:
20+
- Debug
21+
- Release
22+
23+
steps:
24+
- name: Clone the connector
25+
uses: actions/checkout@v3
26+
27+
- name: Setup tarantool ${{ matrix.tarantool }}
28+
uses: tarantool/setup-tarantool@v1
29+
with:
30+
tarantool-version: ${{ matrix.tarantool }}
31+
32+
- name: build
33+
run: |
34+
mkdir build
35+
cd build
36+
cmake -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -DTNTCXX_BUILD_TESTING=ON -DTNTCXX_ENABLE_SSL=OFF ..
37+
make -j
38+
- name: test
39+
run: cd build && ctest --output-on-failure

0 commit comments

Comments
 (0)