Skip to content

ci: build and test tntcxx on ubuntu 22.04 #4

ci: build and test tntcxx on ubuntu 22.04

ci: build and test tntcxx on ubuntu 22.04 #4

Workflow file for this run

name: ubuntu
on:
workflow_dispatch:
pull_request:
push:
branches: [ "master" ]
tags: [ "*" ]
jobs:
ubuntu:
strategy:
fail-fast: false
matrix:
runs-on:
- ubuntu-20.04
- ubuntu-22.04
tarantool:
- '2.11'
mode:
- Debug
- Release
runs-on: ${{ matrix.runs-on }}
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