Skip to content

Commit c7fdae5

Browse files
authored
Merge pull request #1577 from bratpiorka/rrudnick_fix_vcpkg
fix vcpkg installation on windows in CI
2 parents 98f8c5f + 1f8b631 commit c7fdae5

6 files changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/nightly.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ jobs:
152152

153153
- name: Install dependencies
154154
if: steps.cache.outputs.cache-hit != 'true'
155+
env:
156+
VCPKG_BINARY_SOURCES: clear
155157
run: vcpkg install --triplet x64-windows
156158

157159
- name: Set VCPKG_PATH without hwloc
@@ -294,6 +296,8 @@ jobs:
294296

295297
- name: Install dependencies
296298
if: steps.cache.outputs.cache-hit != 'true'
299+
env:
300+
VCPKG_BINARY_SOURCES: clear
297301
run: vcpkg install --triplet x64-windows
298302

299303
- name: Install Ninja

.github/workflows/reusable_basic.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ jobs:
307307

308308
- name: Install dependencies
309309
if: steps.cache.outputs.cache-hit != 'true'
310+
env:
311+
VCPKG_BINARY_SOURCES: clear
310312
run: vcpkg install --triplet x64-windows
311313

312314
# Older versions of CMake require this step to correctly locate dependencies

.github/workflows/reusable_codeql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ jobs:
6969

7070
- name: "[Win] Install vcpkg dependencies"
7171
if: matrix.os == 'windows-latest' && steps.cache.outputs.cache-hit != 'true'
72+
env:
73+
VCPKG_BINARY_SOURCES: clear
7274
run: vcpkg install --triplet x64-windows
7375

7476
- name: "[Win] Install Python requirements"

.github/workflows/reusable_compatibility.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ jobs:
173173
- name: Install dependencies
174174
if: steps.cache.outputs.cache-hit != 'true'
175175
working-directory: ${{github.workspace}}/tag_version
176+
env:
177+
VCPKG_BINARY_SOURCES: clear
176178
run: vcpkg install --triplet x64-windows
177179

178180
- name: Checkout latest UMF version

.github/workflows/reusable_fast.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ jobs:
130130

131131
- name: Install dependencies
132132
if: steps.cache.outputs.cache-hit != 'true'
133+
env:
134+
VCPKG_BINARY_SOURCES: clear
133135
run: vcpkg install --triplet x64-windows
134136

135137
- name: Configure CMake

.github/workflows/reusable_gpu.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ jobs:
9696

9797
- name: "[Win] Install dependencies"
9898
if: matrix.os == 'Windows' && steps.cache.outputs.cache-hit != 'true'
99+
env:
100+
VCPKG_BINARY_SOURCES: clear
99101
run: vcpkg install --triplet x64-windows
100102

101103
# note: disable all providers except the one being tested

0 commit comments

Comments
 (0)