This is an automated email from the ASF dual-hosted git repository. rainerjung pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git
commit c3bb85d0a07491b38042d3b40e6829255e1fb32c Author: Rainer Jung <[email protected]> AuthorDate: Thu Jun 25 02:40:35 2026 +0200 Add actions for pcre-based build and Windows 7 builds --- .github/workflows/makefile.yml | 101 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 100 insertions(+), 1 deletion(-) diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index f561ab90f..1e0cc4b1e 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -8,7 +8,7 @@ permissions: contents: read jobs: - build: + build-pcre2: strategy: fail-fast: false matrix: @@ -41,3 +41,102 @@ jobs: with: name: windows-artifact path: native\iis\WIN10_X64_DLL_RELEASE\isapi_redirect.dll + build-pcre: + strategy: + fail-fast: false + matrix: + include: + - name: Default + triplet: x64-windows + arch: x64 + build-arch: X64 + build-type: Debug + generator: "Ninja" + runs-on: windows-latest + steps: + - uses: actions/checkout@v7 + - name: Download and install strawberryperl + shell: pwsh + run: | + echo on + curl -L -o perl.msi https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_54021_64bit_UCRT/strawberry-perl-5.40.2.1-64bit.msi + msiexec.exe /i perl.msi + - name: Build using Nmake + shell: cmd + run: | + echo on + call "C:\Program Files\Microsoft Visual Studio\18\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=${{ matrix.arch }} + cd native + cd iis + echo "Building for ${{ matrix.build-arch }}" + nmake -f Makefile.vc CPU=${{ matrix.build-arch }} STATIC_CRT=Hybrid PCRE=pcre + - uses: actions/upload-artifact@v7 + with: + name: windows-artifact + path: native\iis\WIN10_X64_DLL_RELEASE\isapi_redirect.dll + build-win7-pcre2: + strategy: + fail-fast: false + matrix: + include: + - name: Default + triplet: x64-windows + arch: x64 + build-arch: X64 + build-type: Debug + generator: "Ninja" + runs-on: windows-latest + steps: + - uses: actions/checkout@v7 + - name: Download and install strawberryperl + shell: pwsh + run: | + echo on + curl -L -o perl.msi https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_54021_64bit_UCRT/strawberry-perl-5.40.2.1-64bit.msi + msiexec.exe /i perl.msi + - name: Build using Nmake + shell: cmd + run: | + echo on + call "C:\Program Files\Microsoft Visual Studio\18\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=${{ matrix.arch }} + cd native + cd iis + echo "Building for ${{ matrix.build-arch }}" + nmake -f Makefile.vc CPU=${{ matrix.build-arch }} WINVER=WIN7 STATIC_CRT=Hybrid PCRE=pcre2 + - uses: actions/upload-artifact@v7 + with: + name: windows-artifact + path: native\iis\WIN7_X64_DLL_RELEASE\isapi_redirect.dll + build-win7-pcre: + strategy: + fail-fast: false + matrix: + include: + - name: Default + triplet: x64-windows + arch: x64 + build-arch: X64 + build-type: Debug + generator: "Ninja" + runs-on: windows-latest + steps: + - uses: actions/checkout@v7 + - name: Download and install strawberryperl + shell: pwsh + run: | + echo on + curl -L -o perl.msi https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_54021_64bit_UCRT/strawberry-perl-5.40.2.1-64bit.msi + msiexec.exe /i perl.msi + - name: Build using Nmake + shell: cmd + run: | + echo on + call "C:\Program Files\Microsoft Visual Studio\18\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=${{ matrix.arch }} + cd native + cd iis + echo "Building for ${{ matrix.build-arch }}" + nmake -f Makefile.vc CPU=${{ matrix.build-arch }} WINVER=WIN7 STATIC_CRT=Hybrid PCRE=pcre + - uses: actions/upload-artifact@v7 + with: + name: windows-artifact + path: native\iis\WIN7_X64_DLL_RELEASE\isapi_redirect.dll --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
