Skip to content

Commit

Permalink
ci: build and test tntcxx on macos 11 and 12
Browse files Browse the repository at this point in the history
The project is tested in both Release and Debug modes on each version of
macos.
  • Loading branch information
drewdzzz committed Oct 18, 2023
1 parent 72720a3 commit 59ce1a2
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: osx

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

jobs:
osx:
strategy:
fail-fast: false
matrix:
runs-on:
- macos-11
- macos-12
mode:
- Debug
- Release

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

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

- name: Setup stable tarantool from brew
run: brew install tarantool

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

0 comments on commit 59ce1a2

Please sign in to comment.