-
Notifications
You must be signed in to change notification settings - Fork 155
50 lines (41 loc) · 1.25 KB
/
Copy pathwheel-qt6-linux.yml
File metadata and controls
50 lines (41 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Linux Qt6 PyQt Wheel
on:
workflow_call:
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
aqtversion: '==3.1.*'
version: 6.8.2
host: linux
target: desktop
arch: linux_gcc_64
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install Python Dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Make Python Wheel
working-directory: ${{ runner.temp }}
run: |
mkdir python
cd python
cp -r ${{ github.workspace }}/src .
cp ${{ github.workspace }}/license.txt .
cp ${{ github.workspace }}/readme.md .
cp ${{ github.workspace }}/python/pyqt6-pyproject.toml pyproject.toml
cp ${{ github.workspace }}/python/QHexEdit.sip .
python -m build --verbose
- name: Save Python Wheel
uses: actions/upload-artifact@v4
with:
name: wheel-qt6-linux
path: ${{ runner.temp }}/python/dist