diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37e9eee..293d97c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -411,7 +411,16 @@ jobs: defaults: run: shell: powershell - name: vcpkg - windows + strategy: + fail-fast: false + matrix: + config: + - Debug + - Release + arch: + - Win32 + - x64 + name: vcpkg - windows - ${{ matrix.arch }} | ${{ matrix.config }} steps: - name: git clone uses: actions/checkout@v6 @@ -435,17 +444,20 @@ jobs: run: New-Item -ItemType SymbolicLink -Path vcpkg-installation -Target $env:VCPKG_ROOT - name: prepare vcpkg port run: myci-vcpkg-prepare.ps1 -gitref ${{ github.sha }} - - name: test vcpkg port + - name: test vcpkg port - build run: | cd build/vcpkg/test - cmake . - cmake --build . --parallel - ./Debug/test.exe + cmake . -A ${{ matrix.arch }} + cmake --build . --parallel --config ${{ matrix.config }} + - name: test vcpkg port - test + run: | + cd build/vcpkg/test + ./${{ matrix.config }}/test.exe - name: upload vcpkg logs to artifacts if: always() # even if previous steps fail, this one needs to be run uses: actions/upload-artifact@v7 with: - name: vcpkg_windows_logs + name: vcpkg_windows_${{ matrix.arch }}_${{ matrix.config }}_logs # NOTE: upload only first level buildtrees subdir logs: on windows actions/upload-artifact fails with a stat() EPERM error when traversing too deep into dependency source trees path: | vcpkg-installation/buildtrees/*/*.log