From d56e8ba991ce9e95fcb0be440e7e80a197a3c0d5 Mon Sep 17 00:00:00 2001 From: Georgiy Lebedev Date: Thu, 16 May 2024 18:41:43 +0300 Subject: [PATCH] WIP --- .github/workflows/asan_testing.yml | 25 +++++++++++++------------ .github/workflows/fast_testing.yml | 16 +++++++++++----- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/.github/workflows/asan_testing.yml b/.github/workflows/asan_testing.yml index ed5dc07..5b33810 100644 --- a/.github/workflows/asan_testing.yml +++ b/.github/workflows/asan_testing.yml @@ -34,20 +34,21 @@ jobs: - name: Install Python dependencies run: pip install -r tests/requirements.txt + - name: Setup tt + run: | + curl -L https://tarantool.io/release/3/installer.sh | bash + apt update + apt install -y tt + + + - name: Setup Tarantool master + run: | + tt init + tt install tarantool pr/10017 + - name: Build module run: | - export MAKEFLAGS=-j8 - export CC=clang - export CXX=clang++ - git clone https://github.com/tarantool/tarantool - cd tarantool - git checkout release/2.11 - export LSAN_OPTIONS=suppressions=${PWD}/asan/lsan.supp - cmake . -DENABLE_ASAN=ON -DENABLE_UB_SANITIZER=ON -DENABLE_DIST=ON - make -j16 - sudo make install - cd .. - tarantoolctl rocks STATIC_BUILD=ON ENABLE_ASAN=ON ENABLE_UBSAN=ON make + tt rocks STATIC_BUILD=ON ENABLE_ASAN=ON ENABLE_UBSAN=ON make - name: Run tarantool application run: | diff --git a/.github/workflows/fast_testing.yml b/.github/workflows/fast_testing.yml index 8f38b13..a529611 100644 --- a/.github/workflows/fast_testing.yml +++ b/.github/workflows/fast_testing.yml @@ -21,10 +21,16 @@ jobs: runs-on: ubuntu-latest steps: - - name: Install tarantool ${{ matrix.tarantool }} - uses: tarantool/setup-tarantool@v1 - with: - tarantool-version: ${{ matrix.tarantool }} + - name: Setup tt + run: | + curl -L https://tarantool.io/release/3/installer.sh | sudo bash + sudo apt update + sudo apt install -y tt + + - name: Setup Tarantool master + run: | + tt init + tt install tarantool pr/10017 - name: Clone the module uses: actions/checkout@v4 @@ -48,7 +54,7 @@ jobs: - name: Build module run: | export MAKEFLAGS=-j8 - tarantoolctl rocks STATIC_BUILD=ON make + tt rocks STATIC_BUILD=ON make - name: Run tarantool application run: TT_LOG=tarantool.log tarantool tests/app.lua > output.log 2>&1 &