Skip to content

Commit 0f75d18

Browse files
author
Martin Urban
committed
Update GHA X
1 parent 41e85b1 commit 0f75d18

File tree

3 files changed

+7
-18
lines changed

3 files changed

+7
-18
lines changed

.github/workflows/unix_like_wheels.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@ jobs:
4040
4141
- name: Setup IPC::cmd perl for Ubuntu
4242
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
4746
4847
- name: Initialize vcpkg
4948
run: |

.github/workflows/windows_wheels.yaml.bak renamed to .github/workflows/windows_wheels.yaml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
matrix:
2626
os: [windows-latest]
27-
python-version: ["3.11", "3.12"]
27+
python-version: ["3.11"]
2828
runs-on: ${{ matrix.os }}
2929
steps:
3030
- name: Checkout repository
@@ -46,6 +46,7 @@ jobs:
4646
python -m venv .venv
4747
call .venv\Scripts\activate.bat
4848
python -m pip install wheel setuptools # setuptools needed for Python >=3.12
49+
python -m pip install cibuildwheel
4950
python -m pip install -r requirements.txt
5051
shell: cmd
5152

@@ -60,20 +61,11 @@ jobs:
6061
run: |
6162
call .venv\Scripts\activate.bat
6263
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 .
7365
shell: cmd
7466

7567
- name: Upload artifact
7668
uses: actions/upload-artifact@v4
7769
with:
7870
name: PyMOL-wheel-${{ matrix.os }}-${{ matrix.python-version }}
79-
path: dist/*.whl
71+
path: ./wheelhouse/*.whl

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ pmg_tk = "modules/pmg_tk"
6464
pymol = "modules/pymol"
6565
pymol2 = "modules/pymol2"
6666
"pymol/data" = "data"
67-
#[tool.scikit-build.package-data]
68-
#pmg_qt = ["forms/*.ui"]
6967

7068
[tool.cibuildwheel]
7169
build = ["cp310-*", "cp311-*", "cp312-*"]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy