diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 26e8839a..f8c262e7 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -15,9 +15,9 @@ jobs: VCPKG_DOWNLOADS: "C:/vcpkg/downloads" VCPKG_DEFAULT_BINARY_CACHE: "C:/vcpkg/archives" VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports" - VCPKG_OVERLAY_TRIPLETS: ${{ github.workspace }}/triplets + VCPKG_OVERLAY_TRIPLETS: "${{ github.workspace }}/triplets" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.1 - name: "create cache folders" run: | New-Item -Type Directory -Force ${env:VCPKG_DOWNLOADS} @@ -40,3 +40,31 @@ jobs: runVcpkgFormatString: '[`install`, `--clean-buildtrees-after-build`, `--clean-packages-after-build`, `--triplet`, `$[env.VCPKG_DEFAULT_TRIPLET]`]' env: VCPKG_DEFAULT_TRIPLET: "${{ matrix.triplet }}" + + cuda_x64: + runs-on: ["self-hosted", "Windows", "CUDA"] + continue-on-error: true + timeout-minutes: 60 + env: + VCPKG_DOWNLOADS: "C:/vcpkg/downloads" + VCPKG_DEFAULT_BINARY_CACHE: "C:/vcpkg/archives" + VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports" + VCPKG_OVERLAY_TRIPLETS: "${{ github.workspace }}/triplets" + steps: + - uses: actions/checkout@v4.1.1 + - name: "create cache folders" + run: | + New-Item -Type Directory -Force ${env:VCPKG_DOWNLOADS} + New-Item -Type Directory -Force ${env:VCPKG_DEFAULT_BINARY_CACHE} + - uses: microsoft/setup-msbuild@v1.1 + with: + msbuild-architecture: x64 + - uses: lukka/run-vcpkg@v11 + with: + vcpkgDirectory: "C:/vcpkg" + vcpkgGitCommitId: "a42af01b72c28a8e1d7b48107b33e4f286a55ef6" # 2023.11.20 + vcpkgJsonGlob: "test/vcpkg.json" + runVcpkgInstall: true + runVcpkgFormatString: '[`install`, `--clean-buildtrees-after-build`, `--clean-packages-after-build`, `--triplet`, `$[env.VCPKG_DEFAULT_TRIPLET]`]' + env: + VCPKG_DEFAULT_TRIPLET: "x64-windows"