Skip to content

Commit c6ed42f

Browse files
committed
update linux
1 parent 584c66c commit c6ed42f

3 files changed

Lines changed: 63 additions & 2 deletions

File tree

.github/workflows/linux-qt5.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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

.github/workflows/windows-qt5.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Windows Release
1+
name: Windows Qt5 Release
22

33
on: [push]
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Windows Release
1+
name: Windows Qt6 Release
22

33
on: [push]
44

0 commit comments

Comments
 (0)