File tree 4 files changed +15
-12
lines changed
4 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 14
14
- " 1.25.3.1"
15
15
- " 1.27.1.1"
16
16
17
- runs-on : " ubuntu-20.04 "
17
+ runs-on : " ubuntu-latest "
18
18
19
19
env :
20
20
OPENRESTY_VERSION : ${{ matrix.op_version }}
24
24
- name : Check out code
25
25
uses : actions/checkout@v2
26
26
27
- - name : Set up Clang
28
- uses : egor-tensin/setup-clang@v1
27
+ - name : Set up build environment
28
+ run : |
29
+ sudo apt update
30
+ sudo apt install -y git wget build-essential
29
31
30
32
- name : Get dependencies
31
33
run : |
43
45
run : |
44
46
wget https://raw.githubusercontent.com/api7/apisix-build-tools/master/build-apisix-base.sh
45
47
chmod +x build-apisix-base.sh
46
- OR_PREFIX=$OPENRESTY_PREFIX CC="clang -fsanitize=address -fcolor-diagnostics -Qunused-arguments " \
48
+ OR_PREFIX=$OPENRESTY_PREFIX CC="gcc -fsanitize=address -fdiagnostics-color=always -Wno-unused-but-set-variable -Wno-unused-parameter " \
47
49
cc_opt="-Werror" ./build-apisix-base.sh latest
48
50
49
51
Original file line number Diff line number Diff line change 16
16
- name : Check out code
17
17
uses : actions/checkout@v2
18
18
19
- - name : Set up Clang
20
- uses : egor-tensin/setup-clang@v1
19
+ - name : Set up build environment
20
+ run : |
21
+ sudo apt update
22
+ sudo apt install -y git wget build-essential
21
23
22
24
- name : Get dependencies
23
25
run : sudo apt install -y cpanminus build-essential libncurses5-dev libreadline-dev libssl-dev perl
29
31
30
32
- name : Install SSL lib
31
33
run : |
32
- # TODO: use a fixed release once they have created one.
33
- # See https://github.com/Tongsuo-Project/Tongsuo/issues/318
34
- git clone https://github.com/api7/tongsuo --depth 1
34
+ git clone -b 8.4.0 --depth 1 https://github.com/Tongsuo-Project/Tongsuo tongsuo
35
35
pushd tongsuo
36
36
./config shared enable-ntls -g --prefix=/usr/local/tongsuo
37
37
make -j2
@@ -45,12 +45,13 @@ jobs:
45
45
- name : Install
46
46
run : |
47
47
wget https://raw.githubusercontent.com/api7/apisix-build-tools/master/build-apisix-base.sh
48
+ sed -i '/--with-http_v3_module[[:space:]]*\\$/d' build-apisix-base.sh ## tongsuo does not support quic tls
48
49
chmod +x build-apisix-base.sh
49
50
export openssl_prefix=/usr/local/tongsuo
50
51
51
52
export cc_opt="-I${openssl_prefix}/include -Werror"
52
53
export ld_opt="-L${openssl_prefix}/lib64 -Wl,-rpath,${openssl_prefix}/lib64"
53
- OR_PREFIX=$OPENRESTY_PREFIX CC="clang -fsanitize=address -fcolor-diagnostics -Qunused-arguments " \
54
+ OR_PREFIX=$OPENRESTY_PREFIX CC="gcc -fsanitize=address -fdiagnostics-color=always -Wno-unused-but-set-variable -Wno-unused-parameter " \
54
55
./build-apisix-base.sh latest
55
56
56
57
- name : Script
Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
build :
11
- runs-on : " ubuntu-20.04 "
11
+ runs-on : " ubuntu-latest "
12
12
13
13
steps :
14
14
- name : Check out code
Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ SSL_do_handshake() failed
364
364
}
365
365
366
366
--- error_log
367
- New, TLSv1.2 , Cipher is ECDHE-RSA-AES256-GCM-SHA384
367
+ New, TLSv1.3 , Cipher is TLS_AES_256_GCM_SHA384
368
368
--- no_error_log
369
369
[error]
370
370
[alert]
You can’t perform that action at this time.
0 commit comments