Skip to content

Commit fee736a

Browse files
committed
Run CMake install step
1 parent 6e12e8b commit fee736a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/checkCI.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ jobs:
9696
fi
9797
- name: Run tests
9898
run: ctest --no-tests=error --test-dir build --build-config ${{ matrix.configuration }} --verbose
99+
- name: Install
100+
run: |
101+
if [ "${{ matrix.compiler }}" == "msvc" ]; then
102+
cmake --build build --target install --config ${{ matrix.configuration }}
103+
else
104+
cmake --build build --target install
105+
fi
99106
100107
external_c_checks_cmake_cygwin:
101108
name: external_c_checks_cmake_windows-cygwin
@@ -134,6 +141,11 @@ jobs:
134141
export PATH=/usr/bin:$PATH
135142
ctest --no-tests=error --test-dir build --build-config Debug --verbose
136143
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'
144+
- name: Install
145+
run: |
146+
export PATH=/usr/bin:$PATH
147+
cmake --build build --target install
148+
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'
137149

138150
html_documentation_checks:
139151
timeout-minutes: 5

0 commit comments

Comments
 (0)