Skip to content

24.04 Windows

24.04 Windows #2

name: Build Windows Dependencies
on:
pull_request:
jobs:
windows:
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up vcpkg
run: |
git clone https://github.com/microsoft/vcpkg.git
.\vcpkg\bootstrap-vcpkg.bat
- name: Install vcpkg dependencies
run: .\vcpkg\vcpkg.exe install --triplet x64-windows
- name: Package vcpkg environment
run: |
mkdir vcpkg_env
xcopy vcpkg.json vcpkg_env\ /Y
xcopy /E /I /Y vcpkg\vcpkg_installed vcpkg_env\vcpkg_installed
powershell Compress-Archive -Path vcpkg_env -DestinationPath vcpkg_env.zip
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: vcpkg-env-x64-windows
path: vcpkg_env.zip