File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Test
2
2
3
3
on : [push, pull_request]
4
4
5
+ env :
6
+ LIBEXPAT_DOWNLOAD_URL : https://github.com/libexpat/libexpat/releases/download/R_2_5_0/expat-2.5.0.tar.gz
7
+
5
8
jobs :
6
9
lint :
7
10
runs-on : ubuntu-latest
30
33
- uses : actions/checkout@v2
31
34
- name : Install deps
32
35
run : |
33
- apk add --no-cache curl perl bash wget git perl-dev libarchive-tools nodejs jq expat-dev
36
+ apk add --no-cache curl perl bash wget git perl-dev libarchive-tools nodejs jq
34
37
ln -s /usr/bin/bsdtar /usr/bin/tar
35
38
39
+ - name : Build libexpat
40
+ if : matrix.openresty_version == '1.17.8.2'
41
+ run : |
42
+ mkdir -p /tmp/expat
43
+ curl -Ls $LIBEXPAT_DOWNLOAD_URL | tar -xz --strip-components=1 -f - -C /tmp/expat
44
+ cd /tmp/expat && ./configure && make && make install
45
+
46
+ - name : Install libexpat from package manager
47
+ if : matrix.openresty_version == '1.19.9.1'
48
+ run : |
49
+ apk add --no-cache expat-dev
50
+
36
51
- name : Cache
37
52
uses : actions/cache@v2
38
53
with :
You can’t perform that action at this time.
0 commit comments