Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -384,10 +384,21 @@ 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@v4
with:
submodules: true
- name: get myci scripts
uses: actions/checkout@v4
with:
Expand All @@ -408,17 +419,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 . -A ${{ matrix.arch }}
cmake --build . --parallel --config ${{ matrix.config }}
- name: test vcpkg port - test
run: |
cd build/vcpkg/test
cmake .
cmake --build . --parallel
./Debug/test.exe
./${{ 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@v4
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
Expand Down
Loading