Skip to content

Commit 3ee0c84

Browse files
Update linux-builds.yml
1 parent d8784a2 commit 3ee0c84

File tree

1 file changed

+25
-9
lines changed

1 file changed

+25
-9
lines changed

.github/workflows/linux-builds.yml

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,35 @@ jobs:
2323
run: make -j4
2424

2525
build_ubuntu_2204:
26-
runs-on: ubuntu-22.04
27-
26+
runs-on: ubuntu-latest
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.1
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.1'
40+
host: linux
41+
target: desktop
42+
install-deps: true
43+
modules: 'qtwebengine'
44+
cached: ${{ steps.cache-qt-6-4.outputs.cache-hit }}
45+
setup-python: false
46+
tools: ''
47+
tools-only: false
48+
49+
- name: Ubuntu and Qt version
50+
run: |
51+
cat /etc/issue
52+
echo number of processors: $(nproc)
53+
qmake -v
3854
- name: qmake
3955
run: qmake
4056
- name: make
41-
run: make -j4
57+
run: make -j$(nproc)

0 commit comments

Comments
 (0)