Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf557fb5

Browse files
committed
specify full DLL name instead of PYVER in GH Actions
1 parent1f44209 commitf557fb5

File tree

1 file changed

+27
-4
lines changed

1 file changed

+27
-4
lines changed

‎.github/workflows/main.yml

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,36 @@ jobs:
1212
fail-fast:false
1313
matrix:
1414
os:[windows, ubuntu, macos]
15-
python:[3.6,3.7,3.8,3.9]
15+
pyver_minor:[6, 7, 8, 9]
1616
platform:[x64]
1717
shutdown_mode:[Normal, Soft]
18+
include:
19+
-os:ubuntu
20+
pyver_minor:6
21+
dll_suffix:m
22+
-os:ubuntu
23+
pyver_minor:7
24+
dll_suffix:m
25+
26+
-os:macos
27+
dll_prefix:lib
28+
dll_pyver_major:'3.'
29+
-os:ubuntu
30+
dll_prefix:lib
31+
dll_pyver_major:'3.'
32+
-os:windows
33+
dll_pyver_major:'3'
34+
35+
-os:ubuntu
36+
dll_ext:.so
37+
-os:windows
38+
dll_ext:.dll
39+
-os:macos
40+
dll_ext:.dylib
1841

1942
env:
2043
PYTHONNET_SHUTDOWN_MODE:${{ matrix.SHUTDOWN_MODE }}
21-
PYTHONNET_PYVER:${{ matrix.PYTHON}}
44+
PYTHONNET_PYDLL:${{ matrix.DLL_PREFIX }}python${{matrix.DLL_PYVER_MAJOR}}${{matrix.PYVER_MINOR}}${{matrix.DLL_SUFFIX}}${{matrix.DLL_EXT}}
2245

2346
steps:
2447
-name:Set Environment on macOS
@@ -33,10 +56,10 @@ jobs:
3356
-name:Setup .NET
3457
uses:actions/setup-dotnet@v1
3558

36-
-name:Set up Python ${{ matrix.python }}
59+
-name:Set up Python3.${{ matrix.pyver_minor }}
3760
uses:actions/setup-python@v2
3861
with:
39-
python-version:${{ matrix.python }}
62+
python-version:3.${{ matrix.pyver_minor }}
4063
architecture:${{ matrix.platform }}
4164

4265
-name:Install dependencies

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp