Skip to content

[DEBUG] vcpkg issue #5983

[DEBUG] vcpkg issue

[DEBUG] vcpkg issue #5983

Workflow file for this run

name: windows
on:
pull_request:
branches:
- develop
- master
push:
branches:
- develop
- master
jobs:
build:
env:
VCPKG_BINARY_SOURCES: 'clear;nuget,GitHub,readwrite'
strategy:
fail-fast: false
matrix:
os:
- windows-2022
toolset:
- v142
- v143
runs-on: ${{matrix.os}}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Add C++ Problem Matcher
uses: ammaraskar/[email protected]
- name: Setup Build Environment
uses: ilammy/[email protected]
with:
vsversion: 2022
- name: Setup NuGet Credentials
shell: bash
run: |
`vcpkg fetch nuget | tail -n 1` \
sources add \
-source "https://nuget.pkg.github.com/BlueQuartzSoftware/index.json" \
-storepasswordincleartext \
-name "GitHub" \
-username "BlueQuartzSoftware" \
-password "${{secrets.GITHUB_TOKEN}}"
`vcpkg fetch nuget | tail -n 1` \
setapikey "${{secrets.GITHUB_TOKEN}}" \
-source "https://nuget.pkg.github.com/BlueQuartzSoftware/index.json"
- name: Install Sphinx
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}}
- name: Test
run: |
ctest --preset ci-windows-${{matrix.toolset}}