Skip to content

Commit

Permalink
ci: Add 32bit build
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Apr 16, 2024
1 parent f57351c commit 22debcf
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ jobs:
fail-fast: false
matrix:
include:
# 32bit build
- container: "debian:stable"
env:
CC: gcc
VARIANT: i386
BUILD_32: 1

# cross compilation builds
- container: "debian:testing"
env:
Expand Down
15 changes: 15 additions & 0 deletions ci/debian.i386.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh -eux
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (c) 2024 Petr Vorel <[email protected]>

dpkg --add-architecture i386
apt update

apt install -y --no-install-recommends \
gcc-multilib \
libcap-dev:i386 \
libc6-dev-i386 \
libc6:i386 \
libidn2-0-dev:i386 \
libssl-dev:i386 \
pkg-config:i386

0 comments on commit 22debcf

Please sign in to comment.