44
44
quictls-version : 3.3.0
45
45
# renovate: datasource=github-tags depName=gnutls/gnutls versioning=semver registryUrl=https://github.com
46
46
gnutls-version : 3.8.8
47
- wolfssl-version : master
47
+ # renovate: datasource=github-tags depName=wolfSSL/wolfssl versioning=semver extractVersion=^v?(?<version>.+)-stable$ registryUrl=https://github.com
48
+ wolfssl-version : 5.7.6
48
49
# renovate: datasource=github-tags depName=ngtcp2/nghttp3 versioning=semver registryUrl=https://github.com
49
50
nghttp3-version : 1.7.0
50
51
# renovate: datasource=github-tags depName=ngtcp2/ngtcp2 versioning=semver registryUrl=https://github.com
55
56
quiche-version : 0.22.0
56
57
57
58
jobs :
58
- setup :
59
- runs-on : ubuntu-latest
60
- outputs :
61
- wolfssl-version : ${{ steps.wolfssl-version.outputs.result }}
62
-
63
- steps :
64
- - id : wolfssl-version
65
- uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
66
- with :
67
- result-encoding : string
68
- script : |
69
- let version = '${{ env.wolfssl-version }}'
70
-
71
- if (version != 'master') {
72
- return version
73
- }
74
-
75
- let { data: commits } = await github.rest.repos.listCommits({
76
- owner: 'wolfSSL',
77
- repo: 'wolfssl',
78
- })
79
-
80
- return commits[0].sha
81
-
82
59
build-cache :
83
- needs :
84
- - setup
85
60
runs-on : ubuntu-latest
86
61
87
62
steps :
108
83
id : cache-wolfssl
109
84
env :
110
85
cache-name : cache-wolfssl
111
- wolfssl-version : ${{ needs.setup.outputs.wolfssl-version }}
112
86
with :
113
87
path : /home/runner/wolfssl/build
114
88
key : ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.wolfssl-version }}
@@ -129,7 +103,7 @@ jobs:
129
103
cache-name : cache-ngtcp2
130
104
with :
131
105
path : /home/runner/ngtcp2/build
132
- key : ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.ngtcp2-version }}
106
+ key : ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.ngtcp2-version }}-${{ env.quictls-version }}-${{ env.gnutls-version }}-${{ env.wolfssl-version }}
133
107
134
108
- name : cache nghttp2
135
109
uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
@@ -138,7 +112,7 @@ jobs:
138
112
cache-name : cache-nghttp2
139
113
with :
140
114
path : /home/runner/nghttp2/build
141
- key : ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.nghttp2-version }}
115
+ key : ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.nghttp2-version }}-${{ env.quictls-version }}-${{ env.ngtcp2-version }}-${{ env.nghttp3-version }}
142
116
143
117
- id : settings
144
118
if : |
@@ -191,16 +165,10 @@ jobs:
191
165
name : ' build gnutls'
192
166
193
167
- if : steps.cache-wolfssl.outputs.cache-hit != 'true'
194
- env :
195
- wolfssl-version : ${{ needs.setup.outputs.wolfssl-version }}
196
168
run : |
197
169
cd $HOME
198
- mkdir wolfssl
170
+ git clone --quiet --depth=1 -b v${{ env. wolfssl-version }}-stable https://github.com/wolfSSL/wolfssl.git
199
171
cd wolfssl
200
- git init
201
- git remote add origin https://github.com/wolfSSL/wolfssl.git
202
- git fetch origin --depth=1 ${{ env.wolfssl-version }}
203
- git checkout ${{ env.wolfssl-version }}
204
172
./autogen.sh
205
173
./configure --disable-dependency-tracking --enable-all --enable-quic \
206
174
--disable-benchmark --disable-crypttests --disable-examples --prefix=$PWD/build
@@ -215,7 +183,9 @@ jobs:
215
183
cd nghttp3
216
184
git submodule update --init --depth=1
217
185
autoreconf -fi
218
- ./configure --disable-dependency-tracking --prefix=$PWD/build PKG_CONFIG_PATH="$PWD/build/lib/pkgconfig" --enable-lib-only
186
+ ./configure --disable-dependency-tracking --prefix=$PWD/build \
187
+ PKG_CONFIG_PATH="$PWD/build/lib/pkgconfig" \
188
+ --enable-lib-only
219
189
make
220
190
make install
221
191
name : ' build nghttp3'
@@ -227,7 +197,7 @@ jobs:
227
197
cd ngtcp2
228
198
autoreconf -fi
229
199
./configure --disable-dependency-tracking --prefix=$PWD/build \
230
- PKG_CONFIG_PATH="$PWD/build/lib/pkgconfig:$ HOME/quictls/build/lib/pkgconfig:$HOME/gnutls/build/lib/pkgconfig:$HOME/wolfssl/build/lib/pkgconfig:$HOME/nghttp3 /build/lib/pkgconfig" \
200
+ PKG_CONFIG_PATH="$HOME/quictls/build/lib/pkgconfig:$HOME/gnutls/build/lib/pkgconfig:$HOME/wolfssl/build/lib/pkgconfig" \
231
201
--enable-lib-only --with-openssl --with-gnutls --with-wolfssl
232
202
make install
233
203
name : ' build ngtcp2'
@@ -239,7 +209,7 @@ jobs:
239
209
cd nghttp2
240
210
autoreconf -fi
241
211
./configure --disable-dependency-tracking --prefix=$PWD/build \
242
- PKG_CONFIG_PATH="$HOME/build/lib/pkgconfig:$HOME/ quictls/build/lib/pkgconfig:$HOME/nghttp3/build/lib/pkgconfig:$HOME/ngtcp2/build/lib/pkgconfig" \
212
+ PKG_CONFIG_PATH="$HOME/quictls/build/lib/pkgconfig:$HOME/nghttp3/build/lib/pkgconfig:$HOME/ngtcp2/build/lib/pkgconfig" \
243
213
LDFLAGS="-Wl,-rpath,$HOME/quictls/build/lib" \
244
214
--enable-http3
245
215
make install
@@ -248,7 +218,6 @@ jobs:
248
218
linux :
249
219
name : ${{ matrix.build.generate && 'CM' || 'AM' }} ${{ matrix.build.name }}
250
220
needs :
251
- - setup
252
221
- build-cache
253
222
runs-on : ' ubuntu-24.04'
254
223
timeout-minutes : 45
@@ -359,7 +328,6 @@ jobs:
359
328
id : cache-wolfssl
360
329
env :
361
330
cache-name : cache-wolfssl
362
- wolfssl-version : ${{ needs.setup.outputs.wolfssl-version }}
363
331
with :
364
332
path : /home/runner/wolfssl/build
365
333
key : ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.wolfssl-version }}
@@ -382,7 +350,7 @@ jobs:
382
350
cache-name : cache-ngtcp2
383
351
with :
384
352
path : /home/runner/ngtcp2/build
385
- key : ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.ngtcp2-version }}
353
+ key : ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.ngtcp2-version }}-${{ env.quictls-version }}-${{ env.gnutls-version }}-${{ env.wolfssl-version }}
386
354
fail-on-cache-miss : true
387
355
388
356
- name : cache nghttp2
@@ -392,7 +360,7 @@ jobs:
392
360
cache-name : cache-nghttp2
393
361
with :
394
362
path : /home/runner/nghttp2/build
395
- key : ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.nghttp2-version }}
363
+ key : ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.nghttp2-version }}-${{ env.quictls-version }}-${{ env.ngtcp2-version }}-${{ env.nghttp3-version }}
396
364
fail-on-cache-miss : true
397
365
398
366
- name : cache openssl
0 commit comments