Skip to content

temp: create vcpkg-configuration for abseil #210

temp: create vcpkg-configuration for abseil

temp: create vcpkg-configuration for abseil #210

name: "Windows(Hosted)"
on: [push, workflow_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
env:
VCPKG_FEATURE_FLAGS: "registries,binarycaching,manifests,versions"
# VCPKG_DOWNLOADS: "C:/vcpkg-downloads"
jobs:
manifest:
runs-on: ["self-hosted", "Windows"]
timeout-minutes: 300
strategy:
matrix:
include:
- vcpkg_tag: "2024.04.26"
vcpkg_commit: "943c5ef1c8f6b5e6ced092b242c8299caae2ff01"
- vcpkg_tag: "2024.05.24"
vcpkg_commit: "01f602195983451bc83e72f4214af2cbc495aa94"
- vcpkg_tag: "2024.06.15"
vcpkg_commit: "f7423ee180c4b7f40d43402c2feb3859161ef625"
fail-fast: false
env:
VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports"
VCPKG_OVERLAY_TRIPLETS: "${{ github.workspace }}/triplets"
steps:
- uses: actions/checkout@v4.1.6
- uses: microsoft/setup-msbuild@v2
with:
msbuild-architecture: x64
- name: "Enalbe LongPath"
run: |
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
git config --system core.longpaths true
shell: pwsh
- name: "Change vcpkg.json"
run: Move-Item -Path "test/self-hosted.json" -Destination "test/vcpkg.json" -Force
shell: pwsh
- uses: lukka/run-vcpkg@v11.5
with:
vcpkgDirectory: "C:/vcpkg"
vcpkgGitCommitId: "943c5ef1c8f6b5e6ced092b242c8299caae2ff01" # 2024.04.26
vcpkgJsonGlob: "test/vcpkg.json"
runVcpkgInstall: true
runVcpkgFormatString: '[`install`, `--keep-going`, `--triplet`, `$[env.VCPKG_DEFAULT_TRIPLET]`]'
env:
VCPKG_DEFAULT_TRIPLET: "x64-windows"
VCPKG_BINARY_SOURCES: ${{ secrets.VCPKG_BINARY_SOURCES }}
- uses: lukka/run-vcpkg@v11.5
with:
vcpkgDirectory: "C:/vcpkg"
vcpkgGitCommitId: "943c5ef1c8f6b5e6ced092b242c8299caae2ff01" # 2024.04.26
vcpkgJsonGlob: "test/vcpkg.json"
runVcpkgInstall: true
runVcpkgFormatString: '[`install`, `--keep-going`, `--triplet`, `$[env.VCPKG_DEFAULT_TRIPLET]`]'
env:
VCPKG_DEFAULT_TRIPLET: "arm64-windows"
VCPKG_BINARY_SOURCES: ${{ secrets.VCPKG_BINARY_SOURCES }}
- uses: yumis-coconudge/clean-workspace-action@v1.0.6
with:
additional-path: "C:/vcpkg/buildtrees,C:/vcpkg/packages"
manifest_cuda:
runs-on: ["self-hosted", "Windows", "CUDA"]
# needs: ["manifest"]
continue-on-error: true
timeout-minutes: 300
strategy:
matrix:
include:
- vcpkg_tag: "2024.05.24"
vcpkg_commit: "01f602195983451bc83e72f4214af2cbc495aa94"
- vcpkg_tag: "2024.06.15"
vcpkg_commit: "f7423ee180c4b7f40d43402c2feb3859161ef625"
fail-fast: false
env:
VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports"
VCPKG_OVERLAY_TRIPLETS: "${{ github.workspace }}/triplets"
steps:
- uses: actions/checkout@v4.1.6
- uses: microsoft/setup-msbuild@v2
with:
msbuild-architecture: x64
- name: "Enalbe LongPath"
run: |
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
git config --system core.longpaths true
shell: pwsh
- name: "Change vcpkg.json"
run: Move-Item -Path "test/self-hosted.json" -Destination "test/vcpkg.json" -Force
shell: pwsh
- uses: lukka/run-vcpkg@v11.5
with:
vcpkgDirectory: "C:/vcpkg"
vcpkgGitCommitId: "${{ matrix.vcpkg_commit }}"
vcpkgJsonGlob: "test/vcpkg.json"
runVcpkgInstall: true
runVcpkgFormatString: '[`install`, `--keep-going`, `--triplet`, `$[env.VCPKG_DEFAULT_TRIPLET]`, `--x-feature`, `cuda`]'
env:
VCPKG_DEFAULT_TRIPLET: "x64-windows"
VCPKG_BINARY_SOURCES: ${{ secrets.VCPKG_BINARY_SOURCES }}
- uses: yumis-coconudge/clean-workspace-action@v1.0.6
with:
additional-path: "C:/vcpkg/buildtrees,C:/vcpkg/packages"