File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
SOURCES=$( find $( git rev-parse --show-toplevel) | egrep " \.(cpp|cc|c|h)\$ " )
4
4
5
- CLANG_FORMAT=$( which clang-format-11 )
5
+ CLANG_FORMAT=$( which clang-format-12 )
6
6
if [ $? -ne 0 ]; then
7
7
CLANG_FORMAT=$( which clang-format)
8
8
if [ $? -ne 0 ]; then
Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ function do_sparse()
63
63
64
64
function do_gcc()
65
65
{
66
- local GCC=$( which gcc-10 )
66
+ local GCC=$( which gcc-11 )
67
67
if [ $? -ne 0 ]; then
68
- echo " [!] gcc-10 is not installed. Failed to run static analysis with GCC." >&2
68
+ echo " [!] gcc-11 is not installed. Failed to run static analysis with GCC." >&2
69
69
exit 1
70
70
fi
71
71
Original file line number Diff line number Diff line change 10
10
11
11
jobs :
12
12
validate :
13
- runs-on : ubuntu-20 .04
13
+ runs-on : ubuntu-22 .04
14
14
steps :
15
15
- name : checkout code
16
16
17
17
- name : validate coding style and functionality
18
18
run : |
19
- sudo apt-get install -q -y clang-format-11
19
+ sudo apt-get install -q -y clang-format-12
20
20
sudo apt-get install -q -y cppcheck
21
- sudo apt-get install -q -y gcc-10
21
+ sudo apt-get install -q -y gcc-11
22
22
.ci/check-format.sh
23
23
.ci/static-analysis.sh
24
24
.ci/build-n-run.sh
You can’t perform that action at this time.
0 commit comments