Skip to content

Commit

Permalink
CI: added 32bit test in check-pr job.
Browse files Browse the repository at this point in the history
  • Loading branch information
xeioex committed Oct 11, 2024
1 parent 5a8bb2d commit 78a34bf
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
libgd-dev libxml2-dev libedit-dev libperl-dev libtest-harness-perl \
libgd-perl libgeoip-dev expect
- name: Install x86 build dependencies
run: |
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y gcc-multilib libc6:i386 libpcre2-dev:i386 zlib1g-dev:i386
- name: Check out nginx
run: |
git clone https://github.com/nginx/nginx nginx-source
Expand Down Expand Up @@ -55,6 +61,19 @@ jobs:
$MAKE_UTILITY test
$MAKE_UTILITY clean
- name: Configure and make njs, 32-bit
run: |
./configure \
--cc-opt="$CC_OPT -m32" \
--ld-opt="$LD_OPT" \
|| cat build/autoconf.err
$MAKE_UTILITY -j$(nproc)
- name: Test njs, 32-bit
run: |
$MAKE_UTILITY test
$MAKE_UTILITY clean
- name: Configure and make njs with quickjs
run: |
./configure \
Expand Down

0 comments on commit 78a34bf

Please sign in to comment.