From 188ec0845577d9291aa94cc31abea871f5683946 Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Tue, 29 Oct 2024 07:52:12 +0300 Subject: [PATCH] Use `debian:11-slim` as linux build environment --- .github/workflows/build.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 183be514a..a9fb2af69 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -105,7 +105,8 @@ jobs: linux: name: 'Linux' - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest + container: debian:11-slim steps: - name: Checkout @@ -114,11 +115,16 @@ jobs: fetch-depth: 0 submodules: true - - name: Check dependencies + - name: Install dependencies run: | - sudo dpkg --add-architecture i386 - sudo apt-get update - sudo apt-get install -y gcc-multilib g++-multilib + dpkg --add-architecture i386 + apt-get update + apt-get install -y \ + gcc-multilib g++-multilib \ + build-essential \ + libc6-dev libc6-dev-i386 \ + git cmake rsync \ + g++ gcc - name: Build and Run unittests run: |