Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
drewdzzz committed Oct 24, 2023
1 parent 66eea01 commit 0622d56
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 47 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/osx.yml → .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: osx
name: testing

on:
workflow_dispatch:
Expand All @@ -8,11 +8,13 @@ on:
tags: [ "*" ]

jobs:
osx:
ubuntu:
strategy:
fail-fast: false
matrix:
runs-on:
- ubuntu-20.04
- ubuntu-22.04
- macos-11
- macos-12
mode:
Expand All @@ -29,15 +31,27 @@ jobs:
- name: Clone the connector
uses: actions/checkout@v3

- name: Setup tarantool 2.11
if: startsWith(matrix.runs-on, 'ubuntu')
uses: tarantool/setup-tarantool@v1
with:
tarantool-version: '2.11'

- name: Setup stable tarantool from brew
if: startsWith(matrix.runs-on, 'macos')
run: brew install tarantool

- name: build
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -DTNTCXX_BUILD_TESTING=ON -DTNTCXX_ENABLE_SSL=ON ..
make
cmake -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -DTNTCXX_BUILD_TESTING=ON -DTNTCXX_ENABLE_SSL=ON ..
make -j
- name: test
- name: test without SSL
if: matrix.test-ssl == 'Disabled'
run: cd build && ctest --output-on-failure -E ClientSSL.test

- name: test
if: matrix.test-ssl == 'Enabled'
run: cd build && ctest --output-on-failure
42 changes: 0 additions & 42 deletions .github/workflows/ubuntu.yml

This file was deleted.

0 comments on commit 0622d56

Please sign in to comment.