Skip to content

Commit f0f86fc

Browse files
committed
github: add job for 32 bit Linux
Some warnings may only be generated on 32 bit systems. Add a new job to compile on a 32 bit Linux system to more readily detect such issues. Note that we're not using Ubuntu here, but Debian. Ubuntu does not receive updates for its 32 bit Docker image anymore.
1 parent 93fc0bd commit f0f86fc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ jobs:
2020
env:
2121
CC: "clang"
2222
CFLAGS: "-Werror -Wall -Wextra -fsanitize=leak"
23+
- os: ubuntu-latest
24+
generator: Unix Makefiles
25+
image: i386/debian:latest
26+
env:
27+
CC: "clang"
28+
CFLAGS: "-Werror -Wall -Wextra"
2329
- os: macos-latest
2430
generator: Unix Makefiles
2531
env:
@@ -37,12 +43,16 @@ jobs:
3743
fail-fast: false
3844

3945
runs-on: ${{ matrix.platform.os }}
46+
container: ${{matrix.platform.image}}
4047

4148
env:
4249
CC: ${{matrix.platform.env.CC}}
4350
CFLAGS: ${{matrix.platform.env.CFLAGS}}
4451

4552
steps:
53+
- name: Prepare 32 bit container image
54+
if: matrix.platform.image == 'i386/debian:latest'
55+
run: apt -q update && apt -q -y install cmake gcc libc6-amd64 lib64stdc++6 make python3
4656
- name: Check out
4757
uses: actions/checkout@v5
4858
- name: Build

0 commit comments

Comments
 (0)