@@ -23,10 +23,11 @@ jobs:
2323 cd build
2424 cmake .. -GNinja -DBOOST_ROOT=/usr -DCMAKE_BUILD_TYPE=Release -DQL_COMPILE_WARNING_AS_ERROR=ON -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -L
2525 cmake --build . --verbose
26+ sudo cmake --install .
27+ sudo ldconfig
2628 - name : Test
2729 run : |
28- cd build
29- ./test-suite/quantlib-test-suite --log_level=message
30+ quantlib-test-suite --log_level=message
3031 cmake-linux-with-options :
3132 runs-on : ubuntu-latest
3233 steps :
@@ -47,10 +48,10 @@ jobs:
4748 run : |
4849 cmake --preset linux-ci-build-with-nonstandard-options -L
4950 cmake --build --preset linux-ci-build-with-nonstandard-options --verbose
51+ sudo cmake --build --preset linux-ci-build-with-nonstandard-options --target install
5052 - name : Test
5153 run : |
52- cd build
53- ./test-suite/quantlib-test-suite --log_level=message
54+ quantlib-test-suite --log_level=message
5455 cmake-win :
5556 runs-on : windows-2022
5657 steps :
@@ -80,11 +81,11 @@ jobs:
8081 call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Vc\Auxiliary\Build\vcvarsall.bat" amd64 -vcvars_ver=14.3 || exit 1
8182 cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release -DQL_COMPILE_WARNING_AS_ERROR=ON -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -L
8283 cmake --build . --verbose
84+ cmake --install .
8385 dir ql\*.lib
8486 - name : Test
8587 run : |
86- cd build
87- .\test-suite\quantlib-test-suite --log_level=message
88+ & "C:\Program Files (x86)\QuantLib\bin\quantlib-test-suite" --log_level=message
8889 cmake-win-dynamic-runtime :
8990 runs-on : windows-2022
9091 steps :
@@ -114,11 +115,11 @@ jobs:
114115 call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Vc\Auxiliary\Build\vcvarsall.bat" amd64 -vcvars_ver=14.3 || exit 1
115116 cmake .. -GNinja -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL -DCMAKE_BUILD_TYPE=Release -DQL_COMPILE_WARNING_AS_ERROR=ON -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -L
116117 cmake --build . --verbose
118+ cmake --install .
117119 dir ql\*.lib
118120 - name : Test
119121 run : |
120- cd build
121- .\test-suite\quantlib-test-suite --log_level=message
122+ & "C:\Program Files (x86)\QuantLib\bin\quantlib-test-suite" --log_level=message
122123 cmake-win-with-options :
123124 runs-on : windows-2022
124125 steps :
@@ -146,10 +147,10 @@ jobs:
146147 call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Vc\Auxiliary\Build\vcvarsall.bat" amd64 -vcvars_ver=14.3 || exit 1
147148 cmake --preset windows-ci-build-with-nonstandard-options -L
148149 cmake --build --preset windows-ci-build-with-nonstandard-options --verbose
150+ cmake --build --preset windows-ci-build-with-nonstandard-options --target install
149151 - name : Test
150152 run : |
151- cd build
152- .\test-suite\quantlib-test-suite --log_level=message
153+ & "C:\Program Files (x86)\QuantLib\bin\quantlib-test-suite" --log_level=message
153154 cmake-macos :
154155 runs-on : macos-latest
155156 steps :
@@ -173,7 +174,7 @@ jobs:
173174 cd build
174175 cmake .. -DCMAKE_BUILD_TYPE=Release -DQL_COMPILE_WARNING_AS_ERROR=ON -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -GNinja -L
175176 cmake --build . --verbose
177+ cmake --install .
176178 - name : Test
177179 run : |
178- cd build
179- ./test-suite/quantlib-test-suite --log_level=message
180+ quantlib-test-suite --log_level=message
0 commit comments