Skip to content
Snippets Groups Projects
Commit 715abaaf authored by Yaroslav Lobankov's avatar Yaroslav Lobankov Committed by Yaroslav Lobankov
Browse files

ci: fix RPM package builds on aarch64 runners

We're using LXD containers as aarch64 runners. For some reason, OOM
killer just kills the compilation process while package building when
`make -j $(nproc)`. The issue happens only with builds where LTO is
enabled. It's found, that `-j6` works fine. The bigger value causes
problems.

NO_DOC=ci
NO_TEST=ci
NO_CHANGELOG=ci
parent 4d8dc4f2
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ runs:
echo REPLICATION_SYNC_TIMEOUT=300 | tee -a $GITHUB_ENV
echo TEST_TIMEOUT=310 | tee -a $GITHUB_ENV
echo NO_OUTPUT_TIMEOUT=320 | tee -a $GITHUB_ENV
echo PRESERVE_ENVVARS=VARDIR,TEST_RUN_RETRIES,SERVER_START_TIMEOUT,REPLICATION_SYNC_TIMEOUT,TEST_TIMEOUT,NO_OUTPUT_TIMEOUT,GC64 | tee -a $GITHUB_ENV
echo PRESERVE_ENVVARS=VARDIR,TEST_RUN_RETRIES,SERVER_START_TIMEOUT,REPLICATION_SYNC_TIMEOUT,TEST_TIMEOUT,NO_OUTPUT_TIMEOUT,GC64,SMPFLAGS | tee -a $GITHUB_ENV
# Configure AWS Region to avoid of issue:
# https://github.com/tarantool/tarantool-qa/issues/111
echo AWS_DEFAULT_REGION=MS | tee -a $GITHUB_ENV
......
......@@ -55,6 +55,11 @@ jobs:
RWS_AUTH: ${{ secrets.RWS_AUTH }}
OS: 'almalinux'
DIST: '9'
# We're using LXD containers as aarch64 runners. For some reason, OOM
# killer just kills the compilation process when `make -j $(nproc)`.
# The issue happens only with builds where LTO is enabled. It's found,
# that `-j6` works fine. The bigger value causes problems.
SMPFLAGS: '-j6'
uses: ./.github/actions/pack-and-deploy
- name: Send VK Teams message on failure
if: failure()
......
......@@ -55,6 +55,11 @@ jobs:
RWS_AUTH: ${{ secrets.RWS_AUTH }}
OS: 'fedora'
DIST: '34'
# We're using LXD containers as aarch64 runners. For some reason, OOM
# killer just kills the compilation process when `make -j $(nproc)`.
# The issue happens only with builds where LTO is enabled. It's found,
# that `-j6` works fine. The bigger value causes problems.
SMPFLAGS: '-j6'
uses: ./.github/actions/pack-and-deploy
- name: Send VK Teams message on failure
if: failure()
......
......@@ -55,6 +55,11 @@ jobs:
RWS_AUTH: ${{ secrets.RWS_AUTH }}
OS: 'fedora'
DIST: '35'
# We're using LXD containers as aarch64 runners. For some reason, OOM
# killer just kills the compilation process when `make -j $(nproc)`.
# The issue happens only with builds where LTO is enabled. It's found,
# that `-j6` works fine. The bigger value causes problems.
SMPFLAGS: '-j6'
uses: ./.github/actions/pack-and-deploy
- name: Send VK Teams message on failure
if: failure()
......
......@@ -55,6 +55,11 @@ jobs:
RWS_AUTH: ${{ secrets.RWS_AUTH }}
OS: 'fedora'
DIST: '36'
# We're using LXD containers as aarch64 runners. For some reason, OOM
# killer just kills the compilation process when `make -j $(nproc)`.
# The issue happens only with builds where LTO is enabled. It's found,
# that `-j6` works fine. The bigger value causes problems.
SMPFLAGS: '-j6'
uses: ./.github/actions/pack-and-deploy
- name: Send VK Teams message on failure
if: failure()
......
......@@ -55,6 +55,11 @@ jobs:
RWS_AUTH: ${{ secrets.RWS_AUTH }}
OS: 'fedora'
DIST: '37'
# We're using LXD containers as aarch64 runners. For some reason, OOM
# killer just kills the compilation process when `make -j $(nproc)`.
# The issue happens only with builds where LTO is enabled. It's found,
# that `-j6` works fine. The bigger value causes problems.
SMPFLAGS: '-j6'
uses: ./.github/actions/pack-and-deploy
- name: Send VK Teams message on failure
if: failure()
......
......@@ -55,6 +55,11 @@ jobs:
RWS_AUTH: ${{ secrets.RWS_AUTH }}
OS: 'fedora'
DIST: '38'
# We're using LXD containers as aarch64 runners. For some reason, OOM
# killer just kills the compilation process when `make -j $(nproc)`.
# The issue happens only with builds where LTO is enabled. It's found,
# that `-j6` works fine. The bigger value causes problems.
SMPFLAGS: '-j6'
uses: ./.github/actions/pack-and-deploy
- name: Send VK Teams message on failure
if: failure()
......
......@@ -55,6 +55,11 @@ jobs:
RWS_AUTH: ${{ secrets.RWS_AUTH }}
OS: 'fedora'
DIST: '39'
# We're using LXD containers as aarch64 runners. For some reason, OOM
# killer just kills the compilation process when `make -j $(nproc)`.
# The issue happens only with builds where LTO is enabled. It's found,
# that `-j6` works fine. The bigger value causes problems.
SMPFLAGS: '-j6'
uses: ./.github/actions/pack-and-deploy
- name: Send VK Teams message on failure
if: failure()
......
......@@ -55,6 +55,11 @@ jobs:
RWS_AUTH: ${{ secrets.RWS_AUTH }}
OS: 'ubuntu'
DIST: 'jammy'
# We're using LXD containers as aarch64 runners. For some reason, OOM
# killer just kills the compilation process when `make -j $(nproc)`.
# The issue happens only with builds where LTO is enabled. It's found,
# that `-j6` works fine. The bigger value causes problems.
SMPFLAGS: '-j6'
uses: ./.github/actions/pack-and-deploy
- name: Send VK Teams message on failure
if: failure()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment