File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,24 +39,38 @@ jobs:
3939 - name : Build cppcheck
4040 run : |
4141 cp externals/z3_version_old.h externals/z3_version.h
42- make -j2 USE_Z3=yes HAVE_RULES=yes
42+ make -j$(nproc) USE_Z3=yes HAVE_RULES=yes
4343
4444 - name : Build test
4545 run : |
46- make -j2 testrunner USE_Z3=yes HAVE_RULES=yes
46+ make -j$(nproc) testrunner USE_Z3=yes HAVE_RULES=yes
4747
4848 - name : Run test
4949 run : |
50- make -j2 check USE_Z3=yes HAVE_RULES=yes
50+ make -j$(nproc) check USE_Z3=yes HAVE_RULES=yes
5151
5252 - name : Validate
5353 run : |
54- make validateCFG
55- make validatePlatforms
54+ make -j$(nproc) validateCFG validatePlatforms
5655
5756 - name : Build GUI on ubuntu
5857 if : matrix.os == 'ubuntu-latest'
5958 run : |
6059 pushd gui
6160 qmake HAVE_QCHART=yes
62- make -j2
61+ make -j$(nproc)
62+
63+ - uses : actions/upload-artifact@v2
64+ with :
65+ name : cppcheck_cli
66+ path : ./cppcheck
67+
68+ - uses : actions/upload-artifact@v2
69+ with :
70+ name : cppcheck_cli
71+ path : ./**/cfg/*.cfg
72+
73+ - uses : actions/upload-artifact@v2
74+ with :
75+ name : cppcheck_cli
76+ path : ./**/platforms/*.xml
Original file line number Diff line number Diff line change @@ -80,47 +80,47 @@ jobs:
8080 - name : Run Release test
8181 run : .\bin\testrunner.exe
8282
83- - uses : actions/upload-artifact@v2-preview
83+ - uses : actions/upload-artifact@v2
8484 with :
8585 name : cppcheck_gui
8686 path : Build\gui
8787
88- - uses : actions/upload-artifact@v2-preview
88+ - uses : actions/upload-artifact@v2
8989 with :
9090 name : cppcheck_gui
9191 path : ./**/cfg/*.cfg
9292
93- - uses : actions/upload-artifact@v2-preview
93+ - uses : actions/upload-artifact@v2
9494 with :
9595 name : cppcheck_gui
9696 path : ./**/platforms/*.xml
9797
98- - uses : actions/upload-artifact@v2-preview
98+ - uses : actions/upload-artifact@v2
9999 with :
100100 name : cppcheck_gui
101101 path : externals\z3\bin\*.dll
102102
103- - uses : actions/upload-artifact@v2-preview
103+ - uses : actions/upload-artifact@v2
104104 with :
105105 name : cppcheck_cli
106106 path : ./bin/cppcheck.exe
107107
108- - uses : actions/upload-artifact@v2-preview
108+ - uses : actions/upload-artifact@v2
109109 with :
110110 name : cppcheck_cli
111111 path : ./bin/cppcheck-core.dll
112112
113- - uses : actions/upload-artifact@v2-preview
113+ - uses : actions/upload-artifact@v2
114114 with :
115115 name : cppcheck_cli
116116 path : externals\z3\bin\*.dll
117117
118- - uses : actions/upload-artifact@v2-preview
118+ - uses : actions/upload-artifact@v2
119119 with :
120120 name : cppcheck_cli
121121 path : ./**/cfg/*.cfg
122122
123- - uses : actions/upload-artifact@v2-preview
123+ - uses : actions/upload-artifact@v2
124124 with :
125125 name : cppcheck_cli
126126 path : ./**/platforms/*.xml
Original file line number Diff line number Diff line change 1515 with :
1616 args : --output=output/manual.pdf man/manual.md
1717
18- - uses : actions/upload-artifact@master
18+ - uses : actions/upload-artifact@v2
1919 with :
2020 name : output
2121 path : output
You can’t perform that action at this time.
0 commit comments