From 14126b2507ad17ba29fb9952b7f2d1e4a2216a4f Mon Sep 17 00:00:00 2001 From: Jared Duffey Date: Thu, 21 Nov 2024 16:25:00 -0500 Subject: [PATCH] Now output vpckg logs Signed-off-by: Jared Duffey --- .github/workflows/windows.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index ca2981560a..74952d6b2e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -51,8 +51,14 @@ jobs: run: | pip install sphinx myst-parser sphinx-markdown-tables sphinx_rtd_theme numpy - name: Configure + id: configure run: | cmake --preset ci-windows-${{matrix.toolset}} ${{github.workspace}} -T ${{matrix.toolset}} + - name: Report vcpkg errors + if: ${{ failure() && steps.configure.conclusion == 'failure' }} + run: | + cmake -E cat C:/vcpkg/buildtrees/itk/install-x64-windows-${{matrix.toolset}}-dbg-out.log + cmake -E cat C:/vcpkg/buildtrees/itk/install-x64-windows-${{matrix.toolset}}-dbg-err.log - name: Build run: | cmake --build --preset ci-windows-${{matrix.toolset}}