File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change 1
1
name : Automated Builds
2
2
3
+ env :
4
+ QT_VERSION : ' 6.7.3'
5
+
3
6
on :
4
7
push :
5
8
branches : [ "master" ]
10
13
11
14
jobs :
12
15
build :
13
- runs-on : ubuntu-20 .04
16
+ runs-on : ubuntu-22 .04
14
17
15
18
steps :
16
19
- name : Download source codes
@@ -19,19 +22,23 @@ jobs:
19
22
- name : Install dependencies
20
23
run : |
21
24
sudo apt-get update -y
22
- sudo apt-get install -y build-essential patchelf libfuse2
25
+ sudo apt-get install -y build-essential ninja-build patchelf libfuse2
26
+ pip install aqtinstall
23
27
24
28
- name : Install Qt
25
- uses : jurplel/install-qt-action@v3
26
- with :
27
- version : ' 6.5.0'
28
- cache : ' true'
29
- install-deps : ' false'
29
+ run : |
30
+ python3 -m aqt install-qt linux desktop $QT_VERSION linux_gcc_64 -O /tmp/qt -m $QT_MODULES
31
+ python3 -m aqt install-qt linux_arm64 desktop $QT_VERSION linux_gcc_arm64 -O /tmp/qt -m $QT_MODULES
30
32
31
- - name : Build the project
33
+ - name : Build for amd64
32
34
run : |
33
- cmake -S . -B build
34
- cmake --build build --parallel --config Release
35
+ chmod +x /tmp/qt/$QT_VERSION/gcc_64/bin/qt-cmake
36
+ /tmp/qt/$QT_VERSION/gcc_64/bin/qt-cmake \
37
+ -S . \
38
+ -B build-amd64 \
39
+ -G Ninja \
40
+ -D CMAKE_BUILD_TYPE=Release
41
+ cmake --build build-amd64 --parallel --config Release
35
42
36
43
- name : Publish build artifacts
37
44
uses : marvinpinto/action-automatic-releases@latest
You can’t perform that action at this time.
0 commit comments