From dc8db7009afdfecedc0421347a2c27cf6d92d5d8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 12 May 2026 08:36:39 +0000 Subject: [PATCH 1/2] Initial plan From 2f1df48d515918407b9ec927aa295a971939876f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 12 May 2026 08:38:41 +0000 Subject: [PATCH 2/2] ci: extend test matrix to run against both nginx 1.30.0 and master Agent-Logs-Url: https://github.com/Securepoint/nginx-ntlm-modulev2/sessions/8831a97e-8661-4d9f-bcbc-3e4d37c12738 Co-authored-by: matthias-lay <163420385+matthias-lay@users.noreply.github.com> --- .github/workflows/test-nginx-1.30.yml | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-nginx-1.30.yml b/.github/workflows/test-nginx-1.30.yml index 72e5718..5bf29ba 100644 --- a/.github/workflows/test-nginx-1.30.yml +++ b/.github/workflows/test-nginx-1.30.yml @@ -1,4 +1,4 @@ -name: test nginx 1.30 +name: test nginx on: push: @@ -12,8 +12,13 @@ jobs: strategy: fail-fast: false matrix: - nginx-version: - - 1.30.0 + include: + - label: "1.30.0" + source: release + nginx-version: "1.30.0" + - label: master + source: master + nginx-version: master steps: - name: Check out repository @@ -37,13 +42,19 @@ jobs: - name: Install Perl test dependencies run: sudo cpanm --notest Module::Build String::Random Test::Nginx - - name: Build nginx with module - env: - NGINX_VERSION: ${{ matrix.nginx-version }} + - name: Download nginx source run: | - curl -fsSLO "https://github.com/nginx/nginx/archive/refs/tags/release-${NGINX_VERSION}.tar.gz" mkdir -p "$RUNNER_TEMP/nginx-src" - tar -xzf "release-${NGINX_VERSION}.tar.gz" -C "$RUNNER_TEMP/nginx-src" --strip-components=1 + if [ "${{ matrix.source }}" = "release" ]; then + curl -fsSLO "https://github.com/nginx/nginx/archive/refs/tags/release-${{ matrix.nginx-version }}.tar.gz" + tar -xzf "release-${{ matrix.nginx-version }}.tar.gz" -C "$RUNNER_TEMP/nginx-src" --strip-components=1 + else + curl -fsSLO "https://github.com/nginx/nginx/archive/refs/heads/master.tar.gz" + tar -xzf "master.tar.gz" -C "$RUNNER_TEMP/nginx-src" --strip-components=1 + fi + + - name: Build nginx with module + run: | cd "$RUNNER_TEMP/nginx-src" ./auto/configure --prefix="$RUNNER_TEMP/nginx" --add-module="$GITHUB_WORKSPACE" make -j"$(nproc)"