Skip to content

Commit

Permalink
Use debian:11-slim as linux build environment
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShorokhov committed Oct 29, 2024
1 parent d0ecf39 commit 188ec08
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ jobs:

linux:
name: 'Linux'
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
container: debian:11-slim

steps:
- name: Checkout
Expand All @@ -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: |
Expand Down

0 comments on commit 188ec08

Please sign in to comment.