Skip to content

Commit 5bdd7b0

Browse files
committed
GitHub actions
1 parent b125e44 commit 5bdd7b0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,29 @@ jobs:
1212
nginx-branch: [stable, mainline]
1313
steps:
1414
- uses: actions/checkout@v2
15+
1516
- name: Install build and test dependencies
1617
run: |
1718
sudo apt-get --yes update
1819
sudo apt-get install --yes libpcre3-dev libssl-dev perl cpanminus
1920
sudo pip install lastversion
21+
2022
- name: Download NGINX
2123
run: |
2224
mkdir nginx && cd nginx && lastversion unzip nginx:${{ matrix.nginx-branch }}
25+
2326
- name: Configure NGINX to compile with the module statically
2427
run: |
2528
cd nginx && ./configure --with-debug --add-module=..
29+
2630
- name: Make NGINX
2731
run: |
2832
cd nginx && make -j$(nproc)
33+
2934
- name: Test the module
3035
run: |
3136
PATH=$(pwd)/nginx/objs:$PATH cpanm --notest --local-lib=$HOME/perl5 Test::Nginx
37+
3238
- name: Test the module 2
39+
run: |
3340
PERL5LIB=$HOME/perl5/lib/perl5 TEST_NGINX_VERBOSE=true prove -v

0 commit comments

Comments
 (0)