Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousGeorgiy committed May 16, 2024
1 parent e029de2 commit d56e8ba
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 17 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/asan_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/fast_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 &
Expand Down

0 comments on commit d56e8ba

Please sign in to comment.