From e17a79b7800810141b92a665a75a2450435f27b4 Mon Sep 17 00:00:00 2001 From: Olivier Georget Date: Wed, 4 Jun 2025 13:00:29 +0200 Subject: [PATCH 1/2] feat(workflow): Add cmake install step to the CI --- .github/workflows/linux-build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index 769ad56e..55304040 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -90,3 +90,7 @@ jobs: run: | cd .build && ctest -C $BUILD_CONFIG -V + - name: Install + run: | + DESTDIR=$RUNNER_TEMP cmake --install .build --verbose + From 86353362b56b81af4ce2cfe7c82ec0d468c0f887 Mon Sep 17 00:00:00 2001 From: Olivier Georget Date: Wed, 4 Jun 2025 15:50:10 +0200 Subject: [PATCH 2/2] fix: Remove 3rd parties installed files that don't exist anymore 3rd parties files are installed through their own fetched packages instead of git submodules (which was the previous mechanism, as per 11ebd1e3dec209c). --- thirdparty/internal_deps.cmake | 7 ------- 1 file changed, 7 deletions(-) diff --git a/thirdparty/internal_deps.cmake b/thirdparty/internal_deps.cmake index e09cee05..7f0f8058 100644 --- a/thirdparty/internal_deps.cmake +++ b/thirdparty/internal_deps.cmake @@ -75,13 +75,6 @@ if (JINJA2CPP_BUILD_TESTS) FetchContent_MakeAvailable(nlohmann_json) endif() -install (FILES - thirdparty/nonstd/expected-lite/include/nonstd/expected.hpp - thirdparty/nonstd/variant-lite/include/nonstd/variant.hpp - thirdparty/nonstd/optional-lite/include/nonstd/optional.hpp - thirdparty/nonstd/string-view-lite/include/nonstd/string_view.hpp - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/nonstd) - install (TARGETS RapidJson EXPORT InstallTargets RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}