@@ -12,13 +12,36 @@ jobs:
12
12
fail-fast :false
13
13
matrix :
14
14
os :[windows, ubuntu, macos]
15
- python :[3. 6,3. 7,3. 8,3. 9]
15
+ pyver_minor :[6, 7, 8, 9]
16
16
platform :[x64]
17
17
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
18
41
19
42
env :
20
43
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 }}
22
45
23
46
steps :
24
47
-name :Set Environment on macOS
@@ -33,10 +56,10 @@ jobs:
33
56
-name :Setup .NET
34
57
uses :actions/setup-dotnet@v1
35
58
36
- -name :Set up Python ${{ matrix.python }}
59
+ -name :Set up Python3. ${{ matrix.pyver_minor }}
37
60
uses :actions/setup-python@v2
38
61
with :
39
- python-version :${{ matrix.python }}
62
+ python-version :3. ${{ matrix.pyver_minor }}
40
63
architecture :${{ matrix.platform }}
41
64
42
65
-name :Install dependencies