File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -58,13 +58,14 @@ jobs:
58
58
shell : bash
59
59
run : |
60
60
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
61
+ echo "build-artifacts-dir=${{ github.workspace }}/artifacts"
61
62
62
63
- name : Configure CMake
63
64
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
64
65
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
65
66
run : >
66
67
cmake -B ${{ steps.strings.outputs.build-output-dir }}
67
- -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/artifacts
68
+ -DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.build-artifacts-dir }}
68
69
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
69
70
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
70
71
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
@@ -81,10 +82,10 @@ jobs:
81
82
run : ctest --extra-verbose --build-config ${{ matrix.build_type }}
82
83
83
84
- name : Install artifacts
84
- run : cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target Install
85
+ run : cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target install
85
86
86
87
- name : List artifacts
87
- working-directory : ${{ github.workspace }}/artifacts
88
+ working-directory : ${{ steps.strings.outputs.build-artifacts-dir }}
88
89
run : |
89
90
pwd
90
91
ls
You can’t perform that action at this time.
0 commit comments