2
2
3
3
on :
4
4
push :
5
- branches : [master]
5
+ branches : [master, chatterino-cmake ]
6
6
pull_request :
7
- branches : [master]
7
+ branches : [master, chatterino-cmake ]
8
8
9
9
jobs :
10
10
build :
@@ -17,20 +17,18 @@ jobs:
17
17
os : [ubuntu-latest, macos-latest, windows-latest]
18
18
19
19
steps :
20
- - name : Cache Qt
21
- id : cache-qt
22
- uses : actions/cache@v1
23
- with :
24
- path : ../Qt
25
- key : ${{runner.os}}-QtCache
26
-
27
20
- name : Install Qt
28
- uses : jurplel/install-qt-action@v2
21
+ uses : jurplel/install-qt-action@v4
29
22
with :
30
- cached : ${{steps.cache-qt.outputs.cache-hit}}
23
+ cache : true
24
+ cache-key-prefix : install-qt-action-${{runner.os}}
31
25
32
26
- name : Git Checkout
33
- uses : actions/checkout@v1
27
+ uses : actions/checkout@v4
28
+
29
+ - name : Enable Developer Command Prompt
30
+ uses : ilammy/msvc-dev-cmd@v1
31
+ if : matrix.os == 'windows-latest'
34
32
35
33
- name : Build
36
34
run : |
41
39
42
40
- name : Build
43
41
run : |
44
- call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
45
42
qmake -v
46
43
qmake -config verbose -config ${{matrix.config}}
47
44
set CL=/MP
@@ -58,23 +55,17 @@ jobs:
58
55
runs-on : ubuntu-latest
59
56
60
57
steps :
61
- - name : Cache Qt
62
- id : cache-qt
63
- uses : actions/cache@v1
64
- with :
65
- path : ../Qt
66
- key : ${{runner.os}}-QtCache
67
-
68
58
- name : Install Qt
69
- uses : jurplel/install-qt-action@v2
59
+ uses : jurplel/install-qt-action@v4
70
60
with :
71
- cached : ${{steps.cache-qt.outputs.cache-hit}}
61
+ cache : true
62
+ cache-key-prefix : install-qt-action-${{runner.os}}
72
63
73
64
- name : Install LCOV
74
65
run : sudo apt install lcov
75
66
76
67
- name : Git Checkout
77
- uses : actions/checkout@v1
68
+ uses : actions/checkout@v4
78
69
79
70
- name : Configure
80
71
run : |
90
81
cat coverage/Irc*.cov > coverage/lcov.info
91
82
92
83
- name : Upload Coverage
93
- uses : codecov/codecov-action@v1.0.6
84
+ uses : codecov/codecov-action@v5.1.2
94
85
with :
95
86
token : ${{secrets.CODECOV_TOKEN}}
96
87
file : coverage/lcov.info
0 commit comments