Skip to content

Commit 046e893

Browse files
committed
Add MSVC for windows runners
1 parent 8ffcc74 commit 046e893

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

‎.github/workflows/test_and_deploy.yml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
matrix:
2626
platform: [ubuntu-latest, windows-latest, macos-latest]
27-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
27+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
2828

2929
steps:
3030
- uses: actions/checkout@v4
@@ -43,6 +43,11 @@ jobs:
4343
python -m pip install --upgrade pip
4444
python -m pip install setuptools tox tox-gh-actions
4545
46+
- name: Set up MSVC
47+
uses: TheMrMilchmann/setup-msvc-dev@v4
48+
with:
49+
arch: x64
50+
4651
# this runs the platform-specific tests declared in tox.ini
4752
- name: Test with tox
4853
env:

‎tox.ini‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{39,310,311,312,313}-{linux,macos,windows}
2+
envlist = py{39,310,311,312,313,314}-{linux,macos,windows}
33
isolated_build=true
44

55
[gh-actions]
@@ -9,6 +9,7 @@ python =
99
3.11: py311
1010
3.12: py312
1111
3.13: py313
12+
3.14: py314
1213

1314
[gh-actions:env]
1415
PLATFORM =
@@ -27,6 +28,10 @@ passenv =
2728
USERNAME
2829
USER
2930
LOGNAME
31+
PATH
32+
INCLUDE
33+
LIB
34+
LIBPATH
3035
TORCHINDUCTOR_CACHE_DIR
3136
extras =
3237
test,examples

0 commit comments

Comments
 (0)