File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -512,6 +512,7 @@ jobs:
512512 done
513513 if : startsWith(github.ref, 'refs/tags/')
514514# #### msvs #####
515+ # DEPRECATED: remove
515516 msvs :
516517 runs-on : windows-latest
517518 defaults :
@@ -597,7 +598,16 @@ jobs:
597598 defaults :
598599 run :
599600 shell : powershell
600- name : vcpkg - windows
601+ strategy :
602+ fail-fast : false
603+ matrix :
604+ config :
605+ - Debug
606+ - Release
607+ arch :
608+ - Win32
609+ - x64
610+ name : vcpkg - MSVC - ${{ matrix.arch }}|${{ matrix.config }}
601611 steps :
602612 - name : git clone
603613 uses : actions/checkout@v4
@@ -619,12 +629,15 @@ jobs:
619629 with : {name: VCPKG_ROOT, value: "C:/vcpkg/"}
620630 - name : prepare vcpkg port
621631 run : myci-vcpkg-prepare.ps1 -gitref ${{ github.sha }}
622- - name : test vcpkg port
632+ - name : test vcpkg port - build
633+ run : |
634+ cd build/vcpkg/test
635+ cmake . -A ${{ matrix.arch }}
636+ cmake --build . --parallel --config ${{ matrix.config }}
637+ - name : test vcpkg port - test
623638 run : |
624639 cd build/vcpkg/test
625- cmake .
626- cmake --build . --parallel
627- cmake --build . --target test
640+ cmake --build . --config ${{ matrix.config}} --target test
628641 - name : upload vcpkg logs to artifacts
629642 if : always() # even if previous steps fail, this one needs to be run
630643 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments