Skip to content

Commit 50b56e6

Browse files
committed
ci: build Tarantool tests
Follows up ...
1 parent ef74f05 commit 50b56e6

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/test.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,15 @@ 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+
with:
42+
fetch-depth: 0
43+
submodules: recursive
44+
repository: ${{ matrix.LUA == 'tarantool' && 'tarantool/tarantool' || ${{ github.event.repository.name }} }}
4045

4146
- name: Setup common packages
4247
run: |
@@ -51,6 +56,12 @@ jobs:
5156
ninja-build \
5257
pkg-config \
5358
protobuf-compiler
59+
build-essential \
60+
liblz4-dev \
61+
autoconf \
62+
automake \
63+
libtool \
64+
util-linux
5465
5566
- name: Running CMake (PUC Rio Lua -current)
5667
run: |
@@ -68,10 +79,19 @@ jobs:
6879
-G Ninja -S . -B build
6980
if: ${{ matrix.LUA == 'luajit' }}
7081

82+
- name: Running CMake (Tarantool)
83+
run: |
84+
cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ \
85+
-DCMAKE_BUILD_TYPE=Debug -DENABLE_ASAN=ON \
86+
-DENABLE_FUZZER=ON \
87+
-G Ninja -S . -B build
88+
if: ${{ matrix.LUA == 'tarantool' }}
89+
7190
- name: Building
7291
run: cmake --build build --parallel $(nproc)
7392

7493
- name: Testing
7594
run: cmake --build build --target test
7695
env:
7796
CTEST_OUTPUT_ON_FAILURE: 1
97+
if: ${{ matrix.LUA != 'tarantool' }}

0 commit comments

Comments
 (0)