Skip to content

Commit 26af78f

Browse files
committed
ci: build Tarantool tests
Follows up ...
1 parent dbae0c6 commit 26af78f

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

.github/workflows/test.yaml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,19 @@ jobs:
3333
LUA:
3434
- "lua"
3535
- "luajit"
36+
- "tarantool"
3637
fail-fast: false
3738
runs-on: ubuntu-22.04
3839
steps:
3940
- uses: actions/checkout@v4
41+
if: ${{ matrix.LUA != 'tarantool' }}
42+
43+
- uses: actions/checkout@v4
44+
with:
45+
fetch-depth: 0
46+
submodules: recursive
47+
repository: 'tarantool/tarantool'
48+
if: ${{ matrix.LUA == 'tarantool' }}
4049

4150
- name: Setup common packages
4251
run: |
@@ -50,7 +59,13 @@ jobs:
5059
libz-dev \
5160
ninja-build \
5261
pkg-config \
53-
protobuf-compiler
62+
protobuf-compiler \
63+
build-essential \
64+
liblz4-dev \
65+
autoconf \
66+
automake \
67+
libtool \
68+
util-linux
5469
5570
- name: Running CMake (PUC Rio Lua -current)
5671
run: |
@@ -68,10 +83,19 @@ jobs:
6883
-G Ninja -S . -B build
6984
if: ${{ matrix.LUA == 'luajit' }}
7085

86+
- name: Running CMake (Tarantool)
87+
run: |
88+
cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ \
89+
-DCMAKE_BUILD_TYPE=Debug -DENABLE_ASAN=ON \
90+
-DENABLE_FUZZER=ON \
91+
-G Ninja -S . -B build
92+
if: ${{ matrix.LUA == 'tarantool' }}
93+
7194
- name: Building
7295
run: cmake --build build --parallel $(nproc)
7396

7497
- name: Testing
7598
run: cmake --build build --target test
7699
env:
77100
CTEST_OUTPUT_ON_FAILURE: 1
101+
if: ${{ matrix.LUA != 'tarantool' }}

0 commit comments

Comments
 (0)