Skip to content

Commit 03abed1

Browse files
Workflow: add linux
1 parent 34dda2d commit 03abed1

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/linux.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build Linux
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
workflow_dispatch: # Manual trigger
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v3
19+
20+
- name: Set up Qt
21+
uses: jurplel/install-qt-action@v2
22+
with:
23+
version: '6.7.1' # Adjust the version as needed
24+
25+
- name: Generate Makefile
26+
run: qmake -config release
27+
28+
- name: Build the project
29+
run: make
30+
31+
- name: Package the application
32+
run: linuxdeployqt DXUI-Installer -appimage
33+
34+
- name: Upload artifact
35+
uses: actions/upload-artifact@v4
36+
with:
37+
name: DXUI-Installer-Linux
38+
path: DXUI-Installer.AppImage

0 commit comments

Comments
 (0)