Skip to content

Commit b651fc1

Browse files
committed
give VS build tools a try
1 parent 5e824a4 commit b651fc1

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ jobs:
7373
run: |
7474
micromamba install -n pmg -c conda-forge bader enumlib openff-toolkit packmol pygraphviz tblite --yes
7575
76+
- name: Install Visual Studio build tools on Windows
77+
# TODO: remove this, as install these just to build
78+
# a single package is too much
79+
if: matrix.config.os == 'windows-latest'
80+
run: |
81+
choco install visualstudio2022buildtools --version=17.0.0
82+
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
83+
7684
- name: Install pymatgen and dependencies via uv
7785
run: |
7886
micromamba activate pmg

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ optional = [
102102
"ase>=3.23.0",
103103
"beautifulsoup4",
104104
# BoltzTraP2 build fails on Windows GitHub runners
105-
"BoltzTraP2>=24.9.4 ; platform_system != 'Windows'",
105+
# "BoltzTraP2>=24.9.4 ; platform_system != 'Windows'",
106+
"BoltzTraP2>=24.9.4",
106107
"chemview>=0.6",
107108
"chgnet>=0.3.8",
108109
"f90nml>=1.1.2",

0 commit comments

Comments
 (0)