Skip to content

Commit 43c720a

Browse files
committed
ci: add mainline and switch to stable-1.28.
Add dynamic module tests on stable-1.24 (Ubuntu LTS 24.04).
1 parent 943433d commit 43c720a

File tree

1 file changed

+22
-14
lines changed

1 file changed

+22
-14
lines changed

.github/workflows/nginx.yaml

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,17 @@ on:
99
env:
1010
CARGO_TERM_COLOR: 'always'
1111
RUST_BACKTRACE: '1'
12-
NGX_CONFIGURE: |
12+
NGX_CONFIGURE: >-
1313
auto/configure
14-
--with-compat
15-
--with-debug
16-
--with-http_realip_module
17-
--with-http_ssl_module
18-
--with-http_v2_module
19-
--with-http_v3_module
20-
--with-stream
21-
--with-stream_realip_module
22-
--with-stream_ssl_module
23-
--with-threads
14+
--with-compat
15+
--with-debug
16+
--with-http_realip_module
17+
--with-http_ssl_module
18+
--with-http_v2_module
19+
--with-stream
20+
--with-stream_realip_module
21+
--with-stream_ssl_module
22+
--with-threads
2423
2524
jobs:
2625
test:
@@ -29,12 +28,15 @@ jobs:
2928
strategy:
3029
fail-fast: false
3130
matrix:
31+
nginx-ref:
32+
- master
33+
- stable-1.28
3234
module:
3335
- static
3436
- dynamic
35-
nginx-ref:
36-
# master
37-
- stable-1.26
37+
include:
38+
- nginx-ref: stable-1.24
39+
module: dynamic
3840

3941
steps:
4042
- uses: actions/checkout@v4
@@ -63,6 +65,12 @@ jobs:
6365
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
6466
restore-keys: ${{ runner.os }}-cargo-
6567

68+
- name: Update configure arguments
69+
if: matrix.nginx-ref != 'stable-1.24'
70+
run: |
71+
echo NGX_CONFIGURE="${NGX_CONFIGURE} --with-http_v3_module" \
72+
>> "$GITHUB_ENV"
73+
6674
- name: Configure nginx with static modules
6775
if: matrix.module == 'static'
6876
working-directory: nginx

0 commit comments

Comments
 (0)