File tree 3 files changed +7
-18
lines changed 3 files changed +7
-18
lines changed Original file line number Diff line number Diff line change 40
40
41
41
- name : Setup IPC::cmd perl for Ubuntu
42
42
if : runner.os == 'Linux'
43
- uses : perl-actions/install-with-cpanm@v1
44
- with :
45
- install : |
46
- IPC::Cmd
43
+ run : |
44
+ sudo apt install cpanminus
45
+ cpanm IPC::Cmd
47
46
48
47
- name : Initialize vcpkg
49
48
run : |
Original file line number Diff line number Diff line change 24
24
strategy :
25
25
matrix :
26
26
os : [windows-latest]
27
- python-version: ["3.11", "3.12" ]
27
+ python-version : ["3.11"]
28
28
runs-on : ${{ matrix.os }}
29
29
steps :
30
30
- name : Checkout repository
46
46
python -m venv .venv
47
47
call .venv\Scripts\activate.bat
48
48
python -m pip install wheel setuptools # setuptools needed for Python >=3.12
49
+ python -m pip install cibuildwheel
49
50
python -m pip install -r requirements.txt
50
51
shell : cmd
51
52
@@ -60,20 +61,11 @@ jobs:
60
61
run : |
61
62
call .venv\Scripts\activate.bat
62
63
python automations/my_automator.py setup dev-env
63
- python -m build
64
- pip install dist/*.whl
65
- shell: cmd
66
-
67
- - name: Run pytest
68
- run: |
69
- call .venv\Scripts\activate.bat
70
- pip install pytest
71
- cd tests/
72
- pytest
64
+ cibuildwheel .
73
65
shell : cmd
74
66
75
67
- name : Upload artifact
76
68
uses : actions/upload-artifact@v4
77
69
with :
78
70
name : PyMOL-wheel-${{ matrix.os }}-${{ matrix.python-version }}
79
- path: dist /*.whl
71
+ path : ./wheelhouse /*.whl
Original file line number Diff line number Diff line change @@ -64,8 +64,6 @@ pmg_tk = "modules/pmg_tk"
64
64
pymol = " modules/pymol"
65
65
pymol2 = " modules/pymol2"
66
66
"pymol/data" = " data"
67
- # [tool.scikit-build.package-data]
68
- # pmg_qt = ["forms/*.ui"]
69
67
70
68
[tool .cibuildwheel ]
71
69
build = [" cp310-*" , " cp311-*" , " cp312-*" ]
You can’t perform that action at this time.
0 commit comments