File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Linux Qt5 Release
2+
3+ on : [push]
4+
5+ defaults :
6+ run :
7+ shell : cmd
8+
9+ env :
10+ SOURCE_DIR : ${{ github.workspace }}
11+ QT_VERSION : 5.15.2
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-24.04
16+
17+ steps :
18+ - name : (1) Checkout repo
19+ uses : actions/checkout@v4
20+
21+ - name : (2) Install Qt
22+ uses : jurplel/install-qt-action@v3
23+ with :
24+ aqtversion : ' ==3.1.*'
25+ version : ${{ env.QT_VERSION }}
26+ host : linux
27+ target : desktop
28+ arch : gcc_64
29+
30+ - name : (3) list files
31+ run : |
32+ dir ${{ env.SOURCE_DIR }}
33+
34+ - name : (5) Make qhexedit.exe
35+ working-directory : ${{ runner.temp }}
36+ run : |
37+ mkdir qhexedit
38+ cd qhexedit
39+ qmake ${{ env.SOURCE_DIR }}/example/qhexedit.pro
40+ make -j12
41+
42+ - name : (8) Make Python Wheel
43+ working-directory : ${{ runner.temp }}
44+ run : |
45+ sudo apt install python3-build -y
46+ mkdir python
47+ cd python
48+ cp -r ${{ env.SOURCE_DIR }}/src .
49+ cp ${{ env.SOURCE_DIR }}/license.txt .
50+ cp ${{ env.SOURCE_DIR }}/readme.md .
51+ cp ${{ env.SOURCE_DIR }}/python/project.py .
52+ cp ${{ env.SOURCE_DIR }}/python/pyqt5-pyproject.toml pyproject.toml
53+ cp ${{ env.SOURCE_DIR }}/python/QHexEdit.sip .
54+
55+ python -m build --verbose
56+
57+ - name : (9) Save Python Wheel
58+ uses : actions/upload-artifact@master
59+ with :
60+ name : linux-qt5-qhexedit-wheel
61+ path : ${{ runner.temp }}/python/dist
Original file line number Diff line number Diff line change 1- name: Windows Release
1+ name: Windows Qt5 Release
22
33on: [push]
44
Original file line number Diff line number Diff line change 1- name : Windows Release
1+ name: Windows Qt6 Release
22
33on: [push]
44
You can’t perform that action at this time.
0 commit comments