Skip to content

Commit

Permalink
Try to workaround the broken ubuntu image (apache#2161)
Browse files Browse the repository at this point in the history
refer apache#2159 (comment)

This PR is a temporary workaround for actions/runner-images#9491 to avoid
blocking the PR merged. Can revert the change once the image issue is resolved.
  • Loading branch information
git-hulk authored Mar 13, 2024
1 parent fc5d32f commit 2465803
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/kvrocks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,11 @@ jobs:
./x.py build -j$NPROC --unittest --compiler ${{ matrix.compiler }} ${{ matrix.without_jemalloc }} \
${{ matrix.without_luajit }} ${{ matrix.with_ninja }} ${{ matrix.with_sanitizer }} ${{ matrix.with_openssl }} \
${{ matrix.new_encoding }} ${{ matrix.with_speedb }} ${{ env.CMAKE_EXTRA_DEFS }}
# Can remove this once https://github.com/actions/runner-images/issues/9491 was fixed
- name: Decrease ASLR entropy due to the issue in 20240310.1.0 Ubuntu 22.04
if: ${{ startsWith(matrix.os, 'ubuntu-22.04') }}
run: sudo sysctl vm.mmap_rnd_bits=28

- name: Build Kvrocks (SonarCloud)
if: ${{ matrix.sonarcloud }}
Expand Down

0 comments on commit 2465803

Please sign in to comment.