File tree Expand file tree Collapse file tree 1 file changed +14
-23
lines changed Expand file tree Collapse file tree 1 file changed +14
-23
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,18 @@ jobs:
12
12
runs-on : ubuntu-20.04
13
13
strategy :
14
14
matrix :
15
- qt-version : ['6.8']
16
- qt-target : ['desktop']
17
- qt-modules : ['']
18
- arch : ['amd64']
19
- ubuntu-version : ['20.04']
15
+ include :
16
+ - qt-host : ' linux_arm64'
17
+ qt-version : ' 6.8'
18
+ qt-target : ' desktop'
19
+ qt-modules : ' '
20
+ qt-arch : ' linux_gcc_64'
21
+ arch : ' amd64'
22
+ - qt-version : ' 6.8'
23
+ qt-target : ' desktop'
24
+ qt-modules : ' '
25
+ qt-arch : ' linux_gcc_arm64'
26
+ arch : ' aarch64'
20
27
steps :
21
28
- uses : actions/checkout@v3
22
29
with :
@@ -47,26 +54,10 @@ jobs:
47
54
uses : jurplel/install-qt-action@v4
48
55
with :
49
56
version : ${{ matrix.qt-version }}
50
- host : ' linux '
51
- arch : ' linux_gcc_64 '
57
+ host : ${{ matrix.qt-host}}
58
+ arch : ${{ matrix.qt-arch }}
52
59
target : ${{ matrix.qt-target }}
53
60
modules : ${{ matrix.qt-modules }}
54
- - if : " !contains(matrix.arch, 'amd64')"
55
- name : Restore cross-compiled Qt from cache
56
- id : cache-qt-cross
57
- uses : actions/cache@v3
58
- with :
59
- path : |
60
- ./qt-host/
61
- ./qt-cross/
62
- ./sysroot/
63
- key : qt-cross-${{ runner.os }}-${{ matrix.qt-version }}-${{ matrix.qt-target }}-${{ matrix.qt-modules }}-${{ matrix.arch }}
64
- restore-keys :
65
- qt-cross-${{ runner.os }}-${{ matrix.qt-version }}-${{ matrix.qt-target }}-${{ matrix.qt-modules }}-${{ matrix.arch }}
66
- - if : " !contains(matrix.arch, 'amd64') && steps.cache-qt-cross.outputs.cache-hit != 'true'"
67
- name : Cross-compile Qt
68
- shell : bash
69
- run : .ci/build_qt6.sh "${{ matrix.qt-version }}" "${{ matrix.qt-modules }}" "${{ matrix.arch }}"
70
61
# # Build
71
62
- if : " !contains(matrix.arch, 'amd64')"
72
63
name : Prepare cross-compilation environment
You can’t perform that action at this time.
0 commit comments