Skip to content

Commit 54c2bd0

Browse files
Update linux-builds.yml
1 parent d8784a2 commit 54c2bd0

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

.github/workflows/linux-builds.yml

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,36 @@ jobs:
2424

2525
build_ubuntu_2204:
2626
runs-on: ubuntu-22.04
27-
2827
steps:
29-
- uses: actions/checkout@v1
28+
- uses: actions/checkout@v2
29+
- name: Cache Qt
30+
id: cache-qt-6-4
31+
uses: actions/cache@v1 # not v2!
32+
with:
33+
path: ../Qt/6.4.2
34+
key: ${{ runner.os }}-QtCache-Qt6-4
35+
3036
- name: Install Qt
3137
uses: jurplel/install-qt-action@v2
3238
with:
33-
version: 6.2.*
34-
host: linux
35-
target: desktop
36-
archives: qtbase qtsvg
37-
setup-python: false
39+
version: 6.4.2
40+
host: linux
41+
target: desktop
42+
install-deps: true
43+
cached: ${{ steps.cache-qt-6-4.outputs.cache-hit }}
44+
setup-python: false
45+
tools: ''
46+
tools-only: false
47+
48+
- name: Install needed xkbcommon symlink
49+
run: sudo apt-get install libxkbcommon-dev -y
50+
51+
- name: Ubuntu and Qt version
52+
run: |
53+
cat /etc/issue
54+
echo number of processors: $(nproc)
55+
qmake -v
3856
- name: qmake
3957
run: qmake
4058
- name: make
41-
run: make -j4
59+
run: make -j$(nproc)

0 commit comments

Comments
 (0)