1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-10-30 11:54:01 -04:00

Move cppcheck of packages to package jobs

This commit is contained in:
Alex Kotov 2022-01-30 08:20:14 +05:00
parent ad04cf8ba4
commit bfaf176670
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -50,10 +50,16 @@ jobs:
run: cppcheck --quiet --error-exitcode=1 --std=c99 --enable=warning,style,performance,portability --suppress=duplicateExpression --suppress=staticStringCompare examples/
- name: cppcheck tests
run: cppcheck --quiet --error-exitcode=1 --std=c99 --enable=warning,style,performance,portability --suppress=unusedStructMember tests/
- name: cppcheck mruby
run: cppcheck --quiet --error-exitcode=1 --std=c99 --enable=warning,style,performance,portability pkgs/mruby/
- name: cppcheck ruby
run: cppcheck --quiet --error-exitcode=1 --std=c99 --enable=warning,style,performance,portability pkgs/ruby/
mruby:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: dependencies
run: sudo apt-get -y install cppcheck
- working-directory: pkgs/mruby
name: cppcheck
run: cppcheck --quiet --error-exitcode=1 --std=c99 --enable=warning,style,performance,portability .
ruby:
runs-on: ubuntu-latest
@ -62,6 +68,8 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
- name: dependencies
run: sudo apt-get -y install cppcheck
- name: autogen
run: ./autogen.sh
- name: configure
@ -79,6 +87,9 @@ jobs:
- working-directory: pkgs/ruby
name: test & lint
run: rake
- working-directory: pkgs/ruby
name: cppcheck
run: cppcheck --quiet --error-exitcode=1 --std=c99 --enable=warning,style,performance,portability .
rust:
runs-on: ubuntu-latest