mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
[ci] Update checks runner to Ubuntu 22
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -50,7 +50,7 @@ jobs:
|
|||||||
warnIfNotFound: false
|
warnIfNotFound: false
|
||||||
|
|
||||||
checks:
|
checks:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
needs: preBuild
|
needs: preBuild
|
||||||
outputs:
|
outputs:
|
||||||
warnings: ${{ steps.cppcheck.outputs.warnings }}
|
warnings: ${{ steps.cppcheck.outputs.warnings }}
|
||||||
@@ -68,7 +68,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get -y install cppcheck
|
sudo apt-get -y install cppcheck
|
||||||
sudo cpan Path::Class
|
sudo cpan Path::Class
|
||||||
cppcheck --template=gcc --inline-suppr --std=c++14 --enable=style,unusedFunction -i externals \
|
cppcheck --template=gcc --inline-suppr --std=c++17 --enable=style,unusedFunction -i externals \
|
||||||
--suppressions-list=cppcheck.supp --library=qt.cfg --library=posix.cfg . 2> >(tee error.log >&2)
|
--suppressions-list=cppcheck.supp --library=qt.cfg --library=posix.cfg . 2> >(tee error.log >&2)
|
||||||
perl scripts/warnings.pl error.log
|
perl scripts/warnings.pl error.log
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user