Release 1.9.0 #565
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Testing | |
| on: | |
| push: | |
| workflow_dispatch: | |
| pull_request: | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| tarantool: ['1.10', '2.10', '2.11', '3.1', '3.2'] | |
| coveralls: [false] | |
| static-build: [false] | |
| include: | |
| - tarantool: '2.11' | |
| coveralls: true | |
| static-build: false | |
| - tarantool: '3.5' | |
| coveralls: false | |
| static-build: true | |
| runs-on: [ubuntu-22.04] | |
| steps: | |
| - uses: actions/checkout@master | |
| - uses: tarantool/setup-tarantool@v3 | |
| with: | |
| tarantool-version: ${{ matrix.tarantool }} | |
| - name: Prepare the repo | |
| run: curl -L https://tarantool.io/release/2/installer.sh | bash | |
| env: | |
| DEBIAN_FRONTEND: noninteractive | |
| - name: Install tt cli | |
| run: sudo apt install -y tt=2.5.2 | |
| env: | |
| DEBIAN_FRONTEND: noninteractive | |
| - name: Install dynamic Tarantool | |
| if: matrix.static-build == false | |
| run: tt install tarantool ${{ matrix.tarantool }} --dynamic | |
| - name: Install static Tarantool | |
| if: matrix.static-build == true | |
| run: tt install tarantool ${{ matrix.tarantool }} | |
| - name: Cache rocks | |
| uses: actions/cache@v3 | |
| id: cache-rocks | |
| with: | |
| path: .rocks/ | |
| key: cache-rocks-${{ matrix.tarantool }}-05 | |
| - run: echo $PWD/.rocks/bin >> $GITHUB_PATH | |
| - run: ./deps.sh | |
| - name: Build module | |
| run: | | |
| cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -S . -B build | |
| make -C build | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run tests without code coverage analysis | |
| run: make -C build luatest | |
| if: matrix.coveralls != true | |
| - name: Send code coverage to coveralls.io | |
| run: make -C build coveralls | |
| if: ${{ matrix.coveralls }} |