Skip to content

Commit 81a52a6

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 34cc3ca commit 81a52a6

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/nginx.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ on:
99
env:
1010
CARGO_TERM_COLOR: 'always'
1111
RUST_BACKTRACE: '1'
12-
NGX_CONFIGURE: |
12+
NGX_CONFIGURE: >-
1313
auto/configure
1414
--with-compat
1515
--with-debug
1616
--with-http_realip_module
1717
--with-http_ssl_module
1818
--with-http_v2_module
19-
--with-http_v3_module
2019
--with-stream
2120
--with-stream_realip_module
2221
--with-stream_ssl_module
@@ -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)