Skip to content

Commit 4a036a1

Browse files
fabinschnim65s
andauthored
Update .github/workflows/release.yml
Co-authored-by: Guilhem Saurel <[email protected]>
1 parent 70ff202 commit 4a036a1

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -71,29 +71,11 @@ jobs:
7171
run: |
7272
pip wheel . -w dist
7373
74-
- name: Turn off cmeel testing and set toolset in pyproject.toml [windows]
75-
if: contains(matrix.os, 'windows')
76-
uses: jannekem/run-python-script-action@v1
77-
with:
78-
script: |
79-
import subprocess
80-
import sys
81-
subprocess.check_call([sys.executable, "-m", "pip", "install", "tomlkit"])
82-
import os
83-
print("Directory contents:")
84-
for f in os.listdir():
85-
print(f)
86-
import tomlkit
87-
with open("pyproject.toml") as f:
88-
doc = tomlkit.load(f)
89-
doc["build-system"]["configure-args"] = "-T${{ matrix.toolset }}","-DBUILD_TESTING:BOOL=OFF","-DBUILD_PYTHON_INTERFACE:BOOL=ON","-DBUILD_WITH_VECTORIZATION_SUPPORT:BOOL=ON","-DINSTALL_DOCUMENTATION:BOOL=OFF"
90-
with open("pyproject.toml", "w") as f:
91-
tomlkit.dump(doc, f)
92-
9374
- name: Build wheel on windows
9475
if: contains(matrix.os, 'windows')
9576
shell: bash -l {0}
9677
env :
78+
CMEEL_CMAKE_ARGS: "-T${{ matrix.toolset }} -DBUILD_PYTHON_INTERFACE=ON -DBUILD_WITH_VECTORIZATION_SUPPORT=ON -DINSTALL_DOCUMENTATION=OFF"
9779
CMEEL_RUN_TESTS: False
9880
CMEEL_JOBS: 1
9981
CMEEL_LOG_LEVEL: Debug

0 commit comments

Comments
 (0)