Skip to content

Commit efc5b7d

Browse files
authored
Add MSVC runtime DLLs bundling step
Added a step to bundle MSVC runtime DLLs for embedding.
1 parent 1e96da2 commit efc5b7d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/embeddable_env_without_OpenMS.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,21 @@ jobs:
4949
cp $PYTHON_DIR/DLLs/_tkinter.pyd $EMBED_DIR/
5050
cp $PYTHON_DIR/DLLs/tcl86t.dll $EMBED_DIR/
5151
cp $PYTHON_DIR/DLLs/tk86t.dll $EMBED_DIR/
52+
53+
- name: Bundle MSVC runtime DLLs
54+
shell: powershell
55+
run: |
56+
$embed = "python-${{ env.PYTHON_VERSION }}"
57+
$dlls = @(
58+
"vcomp140.dll",
59+
"vcruntime140.dll",
60+
"vcruntime140_1.dll",
61+
"msvcp140.dll"
62+
)
63+
64+
foreach ($dll in $dlls) {
65+
Copy-Item "C:\Windows\System32\$dll" "$embed\$dll" -Force
66+
}
5267
5368
- name: Install pip
5469
run: |

0 commit comments

Comments
 (0)