Skip to content

Commit 9c55dde

Browse files
more fixes
1 parent 6b9bed6 commit 9c55dde

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ jobs:
6868
- name: Build and install LuaJIT
6969
run: |
7070
cd luajit2/
71-
make -j$JOBS CCDEBUG=-g Q= PREFIX=$LUAJIT_PREFIX CC=gcc XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT'
72-
sudo make install PREFIX=$LUAJIT_PREFIX
71+
make -j${{ env.JOBS }} CCDEBUG=-g Q= PREFIX=${{ env.LUAJIT_PREFIX }} CC=gcc XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT'
72+
sudo make install PREFIX=${{ env.LUAJIT_PREFIX }}
7373
cd ..
7474
7575
- name: Build and install mockeagain
7676
run: |
77-
cd mockeagain/ && make CC=gcc -j$JOBS && cd ..
77+
cd mockeagain/ && make CC=gcc -j${{ env.JOBS }} && cd ..
7878
7979
- name: Build and configure nginx
8080
run: |
@@ -83,8 +83,8 @@ jobs:
8383
export LD_LIBRARY_PATH=$PWD/mockeagain:$LD_LIBRARY_PATH
8484
export TEST_NGINX_RESOLVER=8.8.4.4
8585
export NGX_BUILD_CC=gcc
86-
wget http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz
87-
ngx-build $NGINX_VERSION --with-ipv6 --with-http_realip_module --with-http_ssl_module --with-cc-opt="-I$OPENSSL_INC" --with-ld-opt="-L$OPENSSL_LIB -Wl,-rpath,$OPENSSL_LIB" --add-module=../ndk-nginx-module --add-module=../lua-nginx-module --with-debug
86+
wget http://nginx.org/download/nginx-${{ env.NGINX_VERSION }}.tar.gz
87+
ngx-build ${{ env.NGINX_VERSION }} --with-ipv6 --with-http_realip_module --with-http_ssl_module --with-cc-opt="-I${{ env.OPENSSL_INC }}" --with-ld-opt="-L${{ env.OPENSSL_LIB }} -Wl,-rpath,${{ env.OPENSSL_LIB }}" --add-module=../ndk-nginx-module --add-module=../lua-nginx-module --with-debug
8888
nginx -V
8989
ldd `which nginx`|grep -E 'luajit|ssl|pcre'
9090
@@ -94,4 +94,4 @@ jobs:
9494
export LD_PRELOAD=$PWD/mockeagain/mockeagain.so
9595
export LD_LIBRARY_PATH=$PWD/mockeagain:$LD_LIBRARY_PATH
9696
export TEST_NGINX_RESOLVER=8.8.4.4
97-
prove -r t
97+
prove -r t

0 commit comments

Comments
 (0)