From 662e8fd1199ccfab46f2c62b1b0ec8d814869102 Mon Sep 17 00:00:00 2001 From: Oussama Teffahi Date: Fri, 19 Apr 2024 11:28:29 +0200 Subject: [PATCH] Add ulimit option to containers --- .github/workflows/pre-release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 2b02545a9c..8b0f35e5cc 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -34,7 +34,9 @@ jobs: strategy: matrix: image: [ "ubuntu:22.04", "ubuntu:24.04" ] - container: ${{ matrix.image }} + container: + image: ${{ matrix.image }} + options: --ulimit nofile=1000000:1000000 steps: - name: Update and install packages run: apt-get update && apt-get install -y curl git build-essential pkg-config libssl-dev @@ -71,7 +73,9 @@ jobs: strategy: matrix: image: [ "ubuntu:22.04", "ubuntu:24.04" ] - container: ${{ matrix.image }} + container: + image: ${{ matrix.image }} + options: --ulimit nofile=1000000:1000000 steps: - name: Update and install packages run: apt-get update && apt-get install -y curl git build-essential pkg-config libssl-dev