Skip to content

Commit

Permalink
NJS: redefine NGINX_CONFIGURE_CMD_APPEND for x86 arch
Browse files Browse the repository at this point in the history
We need to drop geoip builds from this runner, and to add a path to
proper perl binary.
  • Loading branch information
thresheek committed May 24, 2024
1 parent 7714283 commit 1fa29e0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/njs-buildbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,14 @@ jobs:
;;
esac
echo NGINX_CONFIGURE_CMD=$(echo $ENV_JSON | jq -r '.NGINX_CONFIGURE_CMD + " " + ."${{ matrix.os }}".NGINX_CONFIGURE_CMD_APPEND') >> $GITHUB_ENV
NGINX_CONFIGURE_CMD=$(echo $ENV_JSON | jq -r '.NGINX_CONFIGURE_CMD')
NGINX_CONFIGURE_CMD_APPEND=$(echo $ENV_JSON | jq -r '."${{ matrix.os }}".NGINX_CONFIGURE_CMD_APPEND')
case "${{ matrix.arch }}" in
x86)
NGINX_CONFIGURE_CMD_APPEND="--with-perl=/usr/bin/perl5.36-i386-linux-gnu"
;;
esac
echo NGINX_CONFIGURE_CMD="$NGINX_CONFIGURE_CMD $NGINX_CONFIGURE_CMD_APPEND" >> $GITHUB_ENV
case "${{ matrix.os }}" in
freebsd-*)
Expand Down

0 comments on commit 1fa29e0

Please sign in to comment.