From 49e4a1239f7580687bfb89d290a6edec6b287d03 Mon Sep 17 00:00:00 2001 From: Lisanna Dettwyler Date: Thu, 29 Aug 2024 16:41:24 +0000 Subject: [PATCH 1/2] build-quick.yml: add install check --- .github/workflows/build-quick.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-quick.yml b/.github/workflows/build-quick.yml index 8ffeba8..f9ef0e2 100644 --- a/.github/workflows/build-quick.yml +++ b/.github/workflows/build-quick.yml @@ -30,6 +30,8 @@ jobs: ZEL_LIBRARY_PATH: '${{ github.workspace }}/build/lib' working-directory: build run: ctest -V + - working-directory: build + run: sudo make install build-windows: if: github.repository_owner == 'oneapi-src' @@ -47,3 +49,5 @@ jobs: ZEL_LIBRARY_PATH: '${{ github.workspace }}/build/bin/Release' working-directory: build run: ctest -C Release -V + - working-directory: build + run: cmake --build . --config Release --target install From 2c7422d5e95dfb3bb3d44e62017b059f259a5f76 Mon Sep 17 00:00:00 2001 From: Lisanna Dettwyler Date: Thu, 29 Aug 2024 17:08:37 +0000 Subject: [PATCH 2/2] Set INSTALL_GTEST cmake option to off --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d8c6892..c70f211 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,6 +92,8 @@ endif() include(FetchContent) if(BUILD_L0_LOADER_TESTS) + set(INSTALL_GTEST OFF) + FetchContent_Declare( googletest URL https://github.com/google/googletest/archive/refs/tags/v1.14.0.zip