Skip to content

Commit

Permalink
ci: build and test tntcxx on ubuntu 20.04
Browse files Browse the repository at this point in the history
The runner uses Tarantool 2.11 for tests for stability and have both
release and debug versions.
  • Loading branch information
drewdzzz authored and alyapunov committed Oct 16, 2023
1 parent fed0c81 commit 5c1f6ac
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: debug

on:
workflow_dispatch:
pull_request:
push:
branches: [ "master" ]
tags: [ "*" ]

jobs:
ubuntu_20_04:
runs-on: ubuntu-20.04

strategy:
fail-fast: false
matrix:
tarantool:
- '2.11'
mode:
- Debug
- Release

steps:
- name: Clone the connector
uses: actions/checkout@v3

- name: Setup tarantool ${{ matrix.tarantool }}
uses: tarantool/setup-tarantool@v1
with:
tarantool-version: ${{ matrix.tarantool }}

- name: build
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -DTNTCXX_BUILD_TESTING=ON -DTNTCXX_ENABLE_SSL=OFF ..
make -j
- name: test
run: cd build && ctest --output-on-failure

0 comments on commit 5c1f6ac

Please sign in to comment.