Skip to content

Commit 9a4859e

Browse files
committed
ci: build and test tntcxx on macos 11 and 12
The project is tested in both Release and Debug modes on each version of macos. Tarantool is installed from brew, the last stable version is used.
1 parent 2d54638 commit 9a4859e

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/osx.yml

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

0 commit comments

Comments
 (0)