File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -149,3 +149,30 @@ jobs:
149149 }
150150 EOF
151151 valgrind --error-exitcode=1 --leak-check=full --suppressions=tblis.supp ./tapp-reference-test++
152+
153+ - name : Consume from build tree
154+ if : ${{ !matrix.valgrind && !matrix.sanitize }}
155+ shell : bash
156+ run : |
157+ cmake -S $GITHUB_WORKSPACE/test/consume -B ${{github.workspace}}/consume-build \
158+ -G Ninja \
159+ -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
160+ -Dtapp_DIR=${{github.workspace}}/build
161+ cmake --build ${{github.workspace}}/consume-build
162+ ctest --test-dir ${{github.workspace}}/consume-build --output-on-failure
163+
164+ - name : Install
165+ if : ${{ !matrix.valgrind && !matrix.sanitize }}
166+ shell : bash
167+ run : cmake --install ${{github.workspace}}/build --prefix ${{github.workspace}}/install
168+
169+ - name : Consume from install tree
170+ if : ${{ !matrix.valgrind && !matrix.sanitize }}
171+ shell : bash
172+ run : |
173+ cmake -S $GITHUB_WORKSPACE/test/consume -B ${{github.workspace}}/consume-install \
174+ -G Ninja \
175+ -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
176+ -DCMAKE_PREFIX_PATH=${{github.workspace}}/install
177+ cmake --build ${{github.workspace}}/consume-install
178+ ctest --test-dir ${{github.workspace}}/consume-install --output-on-failure
You can’t perform that action at this time.
0 commit comments