[onnx] update baseline #125
Workflow file for this run
This file contains 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: "Windows" | |
on: [push, workflow_dispatch] | |
env: | |
VCPKG_FEATURE_FLAGS: "registries,binarycaching,manifests,versions" | |
jobs: | |
windows2022: | |
runs-on: "windows-2022" | |
strategy: | |
matrix: | |
triplet: [x64-windows] | |
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: actions/cache@v3 | |
with: | |
key: "v2339-${{ runner.os }}-${{ matrix.triplet }}" | |
path: | | |
C:/vcpkg/downloads | |
C:/vcpkg/archives | |
- uses: microsoft/setup-msbuild@v1.1 | |
with: | |
msbuild-architecture: x64 | |
- uses: lukka/run-vcpkg@v11.3 | |
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: "${{ 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} | |
Move-Item -Path "test/self-hosted-cuda.json" -Destination "test/vcpkg.json" -Force | |
- uses: microsoft/setup-msbuild@v1.1 | |
with: | |
msbuild-architecture: x64 | |
- uses: lukka/run-vcpkg@v11.3 | |
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" | |
- uses: yumis-coconudge/clean-workspace-action@v1 | |
with: | |
additional-path: "C:/vcpkg/installed" |