svn commit: r1934221 - subversion/trunk/.github/workflows

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <177885229568.3109823.1460759817665282893@svn03-he-fi>
Author: jun66j5
Date: Fri May 15 13:38:15 2026
New Revision: 1934221

Log:
gha: Enable all features on CI build with cmake.

* .github/workflows/cmake.yml
  (Install dependencies (Windows, vcpkg)):
    Add gettext[tools] and pdcurses.
  (Install dependencies (Linux, apt-get)):
    Add apache-dev, gettext, libncurses-dev.
  (Install dependencies (Mac OS, homebrew)):
    Add gettext and ncurses.
  (Configure CMake):
    Enable all features.

Modified:
   subversion/trunk/.github/workflows/cmake.yml

Modified: subversion/trunk/.github/workflows/cmake.yml
==============================================================================
--- subversion/trunk/.github/workflows/cmake.yml	Fri May 15 12:48:19 2026	(r1934220)
+++ subversion/trunk/.github/workflows/cmake.yml	Fri May 15 13:38:15 2026	(r1934221)
@@ -130,7 +130,7 @@ jobs:
             New-Item $env:VCPKG_DEFAULT_BINARY_CACHE -ItemType Directory | Out-Null
           }
           C:\vcpkg\vcpkg.exe install --triplet ${{ matrix.vcpkg_triplet }} `
-            apr apr-util serf expat zlib sqlite3
+            apr apr-util serf expat zlib sqlite3 gettext[tools] pdcurses
 
           "CMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" >> $env:GITHUB_ENV
 
@@ -154,14 +154,18 @@ jobs:
           libexpat1-dev
           zlib1g-dev
           libsqlite3-dev
+          apache2-dev
+          gettext
+          libncurses-dev
           ninja-build
           ${{ matrix.extra_packages }}
 
       - name: Install dependencies (Mac OS, homebrew)
         if: runner.os == 'macOS'
         run: |
-          $packages = @('apr', 'apr-util', 'expat', 'sqlite', 'apache-serf')
-          brew install ninja $packages
+          $packages = @('apr', 'apr-util', 'expat', 'sqlite', 'apache-serf',
+                        'gettext', 'ncurses')
+          brew install ninja apache2 $packages
           $PKG_CONFIG_PATH = `
             $packages | `
             % { "$(& brew --prefix $_)/lib/pkgconfig" } | `
@@ -180,10 +184,16 @@ jobs:
 
       - name: Configure CMake
         run: >
+          if ($env:RUNNER_OS -eq 'Windows') {
+            $env:PATH += ";${env:VCPKG_ROOT}\installed\${{ matrix.vcpkg_triplet }}\bin";
+          };
           cmake -B out
           -DBUILD_SHARED_LIBS=${{ matrix.build_shared }}
           -DSVN_ENABLE_TESTS=ON
           -DSVN_ENABLE_RA_SERF=ON
+          -DSVN_ENABLE_NLS=ON
+          -DSVN_ENABLE_APACHE_MODULES=${{ runner.os != 'Windows' && 'ON' || 'OFF' }}
+          -DSVN_ENABLE_TUI=ON
           -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/installdir
           -DVCPKG_TARGET_TRIPLET=${{ matrix.vcpkg_triplet }}
           -DSVN_TEST_CONFIGURE_FOR_PARALLEL=ON
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.