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 22
33SOURCES=$( find $( git rev-parse --show-toplevel) | egrep " \.(cpp|cc|c|h)\$ " )
44
5- CLANG_FORMAT=$( which clang-format-11 )
5+ CLANG_FORMAT=$( which clang-format-12 )
66if [ $? -ne 0 ]; then
77 CLANG_FORMAT=$( which clang-format)
88 if [ $? -ne 0 ]; then
Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ function do_sparse()
6363
6464function do_gcc()
6565{
66- local GCC=$( which gcc-10 )
66+ local GCC=$( which gcc-11 )
6767 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
6969 exit 1
7070 fi
7171
Original file line number Diff line number Diff line change 1010
1111jobs :
1212 validate :
13- runs-on : ubuntu-20 .04
13+ runs-on : ubuntu-22 .04
1414 steps :
1515 - name : checkout code
1616 uses : actions/checkout@v3.1.0
1717 - name : validate coding style and functionality
1818 run : |
19- sudo apt-get install -q -y clang-format-11
19+ sudo apt-get install -q -y clang-format-12
2020 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
2222 .ci/check-format.sh
2323 .ci/static-analysis.sh
2424 .ci/build-n-run.sh
You can’t perform that action at this time.
0 commit comments