1
1
name : build-and-test-wheels
2
2
on :
3
3
push :
4
- branches : [master]
5
- pull_request :
6
- branches : [master]
4
+ # branches: [master]
5
+ # pull_request:
6
+ # branches: [master]
7
7
jobs :
8
8
linux-build-86_64 :
9
9
name : Build wheel for linux x86_64
44
44
run : |
45
45
mkdir -p snap7/lib/
46
46
Copy-Item .\snap7-full-1.4.2\release\Windows\Win64\snap7.dll .\snap7\lib
47
- python3 -m build . --wheel -C="--build-option=-- plat-name=win_amd64"
47
+ python3 -m build . --wheel -C="--plat-name=win_amd64"
48
48
mkdir -p wheelhouse/${{ runner.os }}/
49
49
cp dist/*.whl wheelhouse/${{ runner.os }}/
50
50
78
78
79
79
- name : Build wheel
80
80
run : |
81
- python3 -m build . --wheel -C="--build-option=-- plat-name=macosx_10_9_universal2"
81
+ python3 -m build . --wheel -C="--plat-name=macosx_10_9_universal2"
82
82
mkdir -p wheelhouse/${{ runner.os }}/
83
83
cp dist/*.whl wheelhouse/${{ runner.os }}/
84
84
96
96
runs-on : ${{ matrix.os }}
97
97
strategy :
98
98
matrix :
99
- os : [ubuntu-latest, windows-latest, macos-latest ]
100
- python-version : ["3.7", "3. 8", "3.9", "3.10", "3.11"]
99
+ os : [ubuntu-latest, windows-latest, macos-11 ]
100
+ python-version : ["3.8", "3.9", "3.10", "3.11"]
101
101
steps :
102
102
- name : Checkout
103
103
uses : actions/checkout@v3
@@ -110,7 +110,7 @@ jobs:
110
110
- name : Install pytest
111
111
run : |
112
112
python3 -m pip install --upgrade pip
113
- python3 -m pip install pytest pytest-asyncio
113
+ python3 -m pip install pytest pytest-asyncio setuptools
114
114
115
115
- name : Download artifacts
116
116
uses : actions/download-artifact@v3
0 commit comments