summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-17 22:43:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-17 22:43:58 (GMT)
commitdf18d9393c3f1336334fa37742e09461296575e7 (patch)
tree0a5b76fd9dbd74245b68b0d50f35beda0eeec08b
parentb286637e28ec3f7a0cb2808088840ac7c2a0e613 (diff)
downloadtcl-df18d9393c3f1336334fa37742e09461296575e7.zip
tcl-df18d9393c3f1336334fa37742e09461296575e7.tar.gz
tcl-df18d9393c3f1336334fa37742e09461296575e7.tar.bz2
[f8c52a8c53]: CI: Add 32-bit Linux job
-rw-r--r--.github/workflows/linux-build.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml
index 65ca764..f881b47 100644
--- a/.github/workflows/linux-build.yml
+++ b/.github/workflows/linux-build.yml
@@ -23,6 +23,8 @@ jobs:
- "CFLAGS=-ftrapv"
- "CFLAGS=-DTCL_UTF_MAX=4"
- "CFLAGS=-DTCL_UTF_MAX=6"
+ # Duplicated below
+ - "CFLAGS=-m32 CPPFLAGS=-m32 LDFLAGS=-m32 --disable-64bit"
defaults:
run:
shell: bash
@@ -30,6 +32,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
+ - name: Install 32-bit dependencies if needed
+ # Duplicated from above
+ if: ${{ matrix.cfgopt == 'CFLAGS=-m32 CPPFLAGS=-m32 LDFLAGS=-m32 --disable-64bit' }}
+ run: |
+ sudo apt install gcc-multilib libc6-dev-i386
- name: Prepare
run: |
touch tclStubInit.c tclOOStubInit.c