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 22
33SOURCES=$( find $( git rev-parse --show-toplevel) | grep -E " \.(cpp|cc|c|h)\$ " )
44
5- CLANG_FORMAT=$( which clang-format-12 )
5+ CLANG_FORMAT=$( which clang-format)
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 @@ -62,9 +62,9 @@ function do_sparse()
6262
6363function do_gcc()
6464{
65- local GCC=$( which gcc-11 )
65+ local GCC=$( which gcc)
6666 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
6868 exit 1
6969 fi
7070
Original file line number Diff line number Diff line change 1010
1111jobs :
1212 validate :
13- runs-on : ubuntu-22 .04
13+ runs-on : ubuntu-24 .04
1414 steps :
1515 - name : checkout code
1616 uses : actions/checkout@v4
2323 if : ${{ steps.changed-files.outputs.any_changed == 'true' ||
2424 github.event_name == 'workflow_dispatch' }}
2525 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
2927 .ci/check-newline.sh
3028 .ci/check-format.sh
3129 .ci/static-analysis.sh
You can’t perform that action at this time.
0 commit comments