Skip to content

Commit f874a09

Browse files
build-quick.yml: add install check (#189)
* build-quick.yml: add install check * Set INSTALL_GTEST cmake option to off --------- Co-authored-by: Neil R. Spruit <neil.r.spruit@intel.com>
1 parent c247e54 commit f874a09

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build-quick.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
ZEL_LIBRARY_PATH: '${{ github.workspace }}/build/lib'
3030
working-directory: build
3131
run: ctest -V
32+
- working-directory: build
33+
run: sudo make install
3234

3335
build-windows:
3436
if: github.repository_owner == 'oneapi-src'
@@ -45,3 +47,5 @@ jobs:
4547
ZEL_LIBRARY_PATH: '${{ github.workspace }}/build/bin/Release'
4648
working-directory: build
4749
run: ctest -C Release -V
50+
- working-directory: build
51+
run: cmake --build . --config Release --target install

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ endif()
5353
include(FetchContent)
5454

5555
if(BUILD_L0_LOADER_TESTS)
56+
set(INSTALL_GTEST OFF)
5657
FetchContent_Declare(
5758
googletest
5859
GIT_REPOSITORY https://github.com/google/googletest.git

0 commit comments

Comments
 (0)