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:
parent
ad04cf8ba4
commit
bfaf176670
1 changed files with 15 additions and 4 deletions
19
.github/workflows/test.yml
vendored
19
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue