File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 4343 - run : >-
4444 cmake
4545 --preset multi
46- --install-prefix ${{ runner.temp }}
4746 -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
4847
4948 - run : cmake --build --preset debug
5958 cmake
6059 -S example
6160 -B example/build
62- -DCMAKE_PREFIX_PATH=${{ runner.temp }}
61+ -DCMAKE_PREFIX_PATH=${{ github.workspace }}/build/local
6362 -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
63+
6464 - name : build examples
6565 run : cmake --build example/build
6666 - name : Test examples
@@ -84,14 +84,16 @@ jobs:
8484
8585 - run : cmake --workflow --preset default
8686
87- - run : cmake --install build --prefix ${{ runner.temp }}
87+ - run : cmake --install build
8888
8989 - name : configure examples
9090 run : >-
9191 cmake
9292 -S example
9393 -B example/build
94- -DCMAKE_PREFIX_PATH=${{ runner.temp }}
94+ -DCMAKE_PREFIX_PATH=${{ github.workspace }}/build/local
95+
96+
9597 - name : build examples
9698 run : cmake --build example/build
9799 - name : Test examples
Original file line number Diff line number Diff line change @@ -56,14 +56,14 @@ jobs:
5656 run : cat build/CMakeFiles/CMakeConfigureLog.yaml
5757
5858 - name : install package
59- run : cmake --install build --prefix ${{ runner.temp }}
59+ run : cmake --install build -
6060
6161 - name : configure examples
6262 run : >-
6363 cmake
6464 -S example
6565 -B example/build
66- -DCMAKE_PREFIX_PATH:PATH=${{ runner.temp }}
66+ -DCMAKE_PREFIX_PATH:PATH=${{ github.workspace }}/build/local
6767
6868# BUILD_SHARED_LIBS=false since as with any C++ / Fortran program with Intel compiler,
6969# need to have GCC environment carefully set
Original file line number Diff line number Diff line change 55{
66 "name" : " default" ,
77 "binaryDir" : " ${sourceDir}/build" ,
8+ "installDir" : " ${sourceDir}/build/local" ,
89 "cacheVariables" : {
910 "CMAKE_COMPILE_WARNING_AS_ERROR" : true
1011 }
You can’t perform that action at this time.
0 commit comments