Welcome! Log In Create A New Profile

Advanced

[njs] CI: added 32bit test in check-pr job.

Anonymous User
October 10, 2024 09:30PM
details: https://github.com/nginx/njs/commit/78a34bf74fea40e14c25bfc09f86cc96a81e5c5c
branches: master
commit: 78a34bf74fea40e14c25bfc09f86cc96a81e5c5c
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Thu, 10 Oct 2024 18:03:38 -0700
description:
CI: added 32bit test in check-pr job.


---
.github/workflows/check-pr.yml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml
index 0160c1fd..6440e8ce 100644
--- a/.github/workflows/check-pr.yml
+++ b/.github/workflows/check-pr.yml
@@ -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
@@ -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 \
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] CI: added 32bit test in check-pr job.

Anonymous User 187 October 10, 2024 09:30PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 107
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready