Author: rinrab
Date: Sun Oct 6 12:10:16 2024
New Revision: 1921151
URL: http://svn.apache.org/viewvc?rev=1921151&view=rev
Log:
GitHub Actions: Add build of the libsvn_auth_kwallet and
libsvn_auth_gnome_keyring libraries to the Linux workflow.
* CMakeLists.txt
(matrix): Configure default Linux workflow to install the required libraries
and setup the required configure options for these auth modules.
(Install dependecies (Linux, apt-get)): Add 'extra_packages' to the list
of the packages to install using apt-get.
(Configure CMake): Pass 'extra_config_opts' to CMake.
Modified:
subversion/trunk/.github/workflows/cmake.yml
Modified: subversion/trunk/.github/workflows/cmake.yml
URL:
http://svn.apache.org/viewvc/subversion/trunk/.github/workflows/cmake.yml?rev=1921151&r1=1921150&r2=1921151&view=diff
==============================================================================
--- subversion/trunk/.github/workflows/cmake.yml (original)
+++ subversion/trunk/.github/workflows/cmake.yml Sun Oct 6 12:10:16 2024
@@ -71,6 +71,16 @@ jobs:
cmake_generator: Ninja
build_shared: ON
run_tests: true
+ extra_config_opts: >
+ -DSVN_ENABLE_AUTH_KWALLET=ON
+ -DSVN_ENABLE_AUTH_GNOME_KEYRING=ON
+ extra_packages: >
+ libkf5wallet-dev
+ libkf5coreaddons-dev
+ libkf5i18n-dev
+ libdbus-1-dev
+ qtbase5-dev
+ libsecret-1-dev
runs-on: ${{ matrix.os }}
name: ${{ matrix.name }}
@@ -123,6 +133,7 @@ jobs:
zlib1g-dev
libsqlite3-dev
ninja-build
+ ${{ matrix.extra_packages }}
- name: Use LF for Git checkout
run: |
@@ -141,6 +152,7 @@ jobs:
-DSVN_ENABLE_TESTS=ON
-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/installdir
-DVCPKG_TARGET_TRIPLET=${{ matrix.vcpkg_triplet }}
+ ${{ matrix.extra_config_opts }}
- name: Build CMake
run: cmake --build out --config Release