Skip to content

Commit 8c48475

Browse files
committed
Add Linux 32-bit build to CI
1 parent cf35fcd commit 8c48475

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,20 @@ jobs:
213213
run: |
214214
cmake -S . -B build -G Ninja -DUSE_INTERNAL_LIBS=OFF -DCMAKE_BUILD_TYPE=Release
215215
cmake --build build
216+
linux-32bit:
217+
name: Linux 32-bit
218+
runs-on: ubuntu-22.04
219+
steps:
220+
- uses: actions/checkout@v4
221+
- name: Install Dependencies
222+
run: |
223+
sudo dpkg --add-architecture i386
224+
sudo apt-get update
225+
sudo apt-get install gcc-multilib libsdl2-dev:i386
226+
- name: Compile
227+
run: |
228+
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-m32 -msse -msse2"
229+
cmake --build build
216230
freebsd:
217231
name: FreeBSD
218232
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)