File tree 2 files changed +52
-0
lines changed
2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ # These are supported funding model platforms
2
+
3
+ github : GetPageSpeed
4
+ patreon : getpagespeed
5
+ open_collective : # Replace with a single Open Collective username
6
+ ko_fi : # Replace with a single Ko-fi username
7
+ tidelift : # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8
+ community_bridge : # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+ liberapay : # Replace with a single Liberapay username
10
+ issuehunt : # Replace with a single IssueHunt username
11
+ otechie : # Replace with a single Otechie username
12
+ custom : # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
Original file line number Diff line number Diff line change
1
+ name : Test Build
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+
8
+ runs-on : ubuntu-latest
9
+ strategy :
10
+ max-parallel : 2
11
+ matrix :
12
+ nginx-branch : [stable, mainline]
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+
16
+ - name : Install build and test dependencies
17
+ run : |
18
+ sudo apt-get --yes update
19
+ sudo apt-get install --yes libpcre3-dev libssl-dev perl cpanminus
20
+ sudo pip install lastversion
21
+
22
+ - name : Download NGINX
23
+ run : |
24
+ mkdir nginx && cd nginx && lastversion unzip nginx:${{ matrix.nginx-branch }}
25
+
26
+ - name : Configure NGINX to compile with the module statically
27
+ run : |
28
+ cd nginx && ./configure --with-debug --add-module=..
29
+
30
+ - name : Make NGINX
31
+ run : |
32
+ cd nginx && make -j$(nproc)
33
+
34
+ - name : Ensure Test::Nginx installed
35
+ run : |
36
+ cpanm --notest --local-lib=$HOME/perl5 Test::Nginx
37
+
38
+ - name : Test the module
39
+ run : |
40
+ PATH=$(pwd)/nginx/objs:$PATH PERL5LIB=$HOME/perl5/lib/perl5 TEST_NGINX_VERBOSE=true prove -v
You can’t perform that action at this time.
0 commit comments