Skip to content

Commit 7c06845

Browse files
committedOct 8, 2024
Use older MSVC toolchain version
1 parent 41f1e7b commit 7c06845

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed
 

‎.github/workflows/causal_lm_cpp.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ jobs:
203203
204204
cpp-greedy_causal_lm-windows:
205205
runs-on: windows-latest
206-
if: ${{ false }} # TODO: fix Windows
207206
env:
208207
PYTHONIOENCODING: "utf8"
209208
defaults:
@@ -218,6 +217,8 @@ jobs:
218217
python-version: 3.9
219218
- name: Configure Developer Command Prompt for Microsoft Visual C++
220219
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
220+
with:
221+
toolset: 14.29
221222
- run: curl --output ov.zip ${{ env.w_ov_link }}
222223
- run: unzip -d ov ov.zip
223224
- run: dirs=(ov/*) && mv ov/*/* ov && rmdir "${dirs[@]}"
@@ -726,7 +727,6 @@ jobs:
726727
727728
cpp-continuous-batching-windows:
728729
runs-on: windows-latest
729-
if: ${{ false }} # TODO: fix Windows
730730
env:
731731
PYTHONIOENCODING: "utf8"
732732
defaults:
@@ -741,6 +741,8 @@ jobs:
741741
python-version: 3.9
742742
- name: Configure Developer Command Prompt for Microsoft Visual C++
743743
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
744+
with:
745+
toolset: 14.29
744746
- name: Install OpenVINO
745747
run: |
746748
curl --output ov.zip ${{ env.w_ov_link }}

‎.github/workflows/lcm_dreamshaper_cpp.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ jobs:
7171
7272
lcm_dreamshaper_v7_cpp-windows:
7373
runs-on: windows-latest
74-
if: ${{ false }} # TODO: fix Windows
7574
defaults:
7675
run:
7776
shell: pwsh
@@ -89,6 +88,11 @@ jobs:
8988
mv ./tmp/*/* .
9089
popd
9190
91+
- name: Configure Developer Command Prompt for Microsoft Visual C++
92+
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
93+
with:
94+
toolset: 14.29
95+
9296
- name: Build app
9397
run: |
9498
. "${{ env.OV_INSTALL_DIR }}/setupvars.ps1"

‎.github/workflows/stable_diffusion_1_5_cpp.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ jobs:
8080
8181
stable_diffusion_1_5_cpp-windows:
8282
runs-on: windows-latest
83-
if: ${{ false }} # TODO: fix Windows
8483
defaults:
8584
run:
8685
shell: pwsh
@@ -98,6 +97,11 @@ jobs:
9897
mv ./tmp/*/* .
9998
popd
10099
100+
- name: Configure Developer Command Prompt for Microsoft Visual C++
101+
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
102+
with:
103+
toolset: 14.29
104+
101105
- name: Build app
102106
run: |
103107
. "${{ env.OV_INSTALL_DIR }}/setupvars.ps1"

0 commit comments

Comments
 (0)