diff --git a/.github/workflows/release_lto_clang11.yml b/.github/workflows/release_lto_clang.yml similarity index 79% rename from .github/workflows/release_lto_clang11.yml rename to .github/workflows/release_lto_clang.yml index 7abb9ac6a56c2e2c1120296ff939b45d391f0fef..1cae532d68e676afc40653a530e862fae1ee2bdb 100644 --- a/.github/workflows/release_lto_clang11.yml +++ b/.github/workflows/release_lto_clang.yml @@ -1,4 +1,4 @@ -name: release_lto_clang11 +name: release_lto_clang on: push: @@ -31,7 +31,7 @@ concurrency: cancel-in-progress: true jobs: - release_lto_clang11: + release_lto_clang: # Run on push to the 'master' and release branches of tarantool/tarantool # or on pull request if the 'full-ci' label is set. if: github.repository == 'tarantool/tarantool' && @@ -40,6 +40,19 @@ jobs: runs-on: ubuntu-20.04-self-hosted + container: + image: docker.io/tarantool/testing:ubuntu-jammy-clang16 + # Mount /dev to the container to be able to mount a disk image inside it + # for successful run of the .github/actions/environment action. + volumes: + - /dev:/dev + # Our testing expects that the init process (PID 1) will + # reap orphan processes. At least the following test leans + # on it: app-tap/gh-4983-tnt-e-assert-false-hangs.test.lua. + # Add extra privileges to the container for successful run + # of the .github/actions/environment action. + options: '--init --privileged' + steps: - name: Prepare checkout uses: tarantool/actions/prepare-checkout@master @@ -52,8 +65,8 @@ jobs: uses: ./.github/actions/install-deps-debian - name: test env: - CC: clang-11 - CXX: clang++-11 + CC: clang-16 + CXX: clang++-16 CMAKE_EXTRA_PARAMS: -DENABLE_LTO=ON run: make -f .test.mk test-release - name: Send VK Teams message on failure