Skip to content

Commit 66eea01

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 962241d commit 66eea01

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/osx.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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+
test-ssl:
22+
- Disabled
23+
24+
runs-on: ${{ matrix.runs-on }}
25+
26+
name: ${{ matrix.runs-on }} (${{ matrix.mode }}, ${{ matrix.test-ssl }} ssl test)
27+
28+
steps:
29+
- name: Clone the connector
30+
uses: actions/checkout@v3
31+
32+
- name: Setup stable tarantool from brew
33+
run: brew install tarantool
34+
35+
- name: build
36+
run: |
37+
mkdir build
38+
cd build
39+
cmake -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -DTNTCXX_BUILD_TESTING=ON -DTNTCXX_ENABLE_SSL=ON ..
40+
make
41+
42+
- name: test
43+
run: cd build && ctest --output-on-failure -E ClientSSL.test

0 commit comments

Comments
 (0)