File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 2
2
3
3
SOURCES=$( find $( git rev-parse --show-toplevel) | grep -E " \.(cpp|cc|c|h)\$ " )
4
4
5
- CLANG_FORMAT=$( which clang-format-12 )
5
+ CLANG_FORMAT=$( which clang-format)
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 @@ -62,9 +62,9 @@ function do_sparse()
62
62
63
63
function do_gcc()
64
64
{
65
- local GCC=$( which gcc-11 )
65
+ local GCC=$( which gcc)
66
66
if [ $? -ne 0 ]; then
67
- echo " [!] gcc-11 is not installed. Failed to run static analysis with GCC." >&2
67
+ echo " [!] gcc is not installed. Failed to run static analysis with GCC." >&2
68
68
exit 1
69
69
fi
70
70
Original file line number Diff line number Diff line change 10
10
11
11
jobs :
12
12
validate :
13
- runs-on : ubuntu-22 .04
13
+ runs-on : ubuntu-24 .04
14
14
steps :
15
15
- name : checkout code
16
16
uses : actions/checkout@v4
23
23
if : ${{ steps.changed-files.outputs.any_changed == 'true' ||
24
24
github.event_name == 'workflow_dispatch' }}
25
25
run : |
26
- sudo apt-get install -q -y clang-format-12
27
- sudo apt-get install -q -y cppcheck
28
- sudo apt-get install -q -y gcc-11
26
+ sudo apt install -q -y clang-format cppcheck gcc
29
27
.ci/check-newline.sh
30
28
.ci/check-format.sh
31
29
.ci/static-analysis.sh
You can’t perform that action at this time.
0 commit comments