24.04 Windows #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |