Update lint.yml
This commit is contained in:
+24
-10
@@ -13,22 +13,36 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Create Build Environment
|
- name: Create LLVM clang-tools scan-build Workspace
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get install -qq clang-tools
|
sudo apt-get install -qq clang-tools
|
||||||
- name: Lint
|
- name: Static Defect Analysis using scan-build
|
||||||
run: make clean lint
|
run: |
|
||||||
|
make clean
|
||||||
|
make lint
|
||||||
|
|
||||||
|
splint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Create SPLint Workspace
|
||||||
|
run: |
|
||||||
|
sudo apt-get update --quiet --assume-yes
|
||||||
|
sudo apt-get install --quiet --assume-yes splint
|
||||||
|
- name: Static Defect Analysis using SPLint
|
||||||
|
run: make splint
|
||||||
|
|
||||||
|
|
||||||
cppcheck:
|
cppcheck:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Create Build Environment
|
- name: Create CPPcheck Workspace
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get install -qq cppcheck
|
sudo apt-get install -qq cppcheck
|
||||||
- name: cppcheck
|
- name: Static Defect Analysis using CPPcheck
|
||||||
run: |
|
run: |
|
||||||
cppcheck --version
|
cppcheck --version
|
||||||
make clean
|
make clean
|
||||||
@@ -38,11 +52,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Create Build Environment
|
- name: Create Flawfinder Workspace
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get install -qq flawfinder
|
sudo apt-get install -qq flawfinder
|
||||||
- name: cppcheck
|
- name: Static Defect Analysis using flawfinder
|
||||||
run: |
|
run: |
|
||||||
flawfinder --version
|
flawfinder --version
|
||||||
make clean
|
make clean
|
||||||
@@ -52,11 +66,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Create Build Environment
|
- name: Create codespell Workspace
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get install -qq codespell
|
sudo apt-get install -qq codespell
|
||||||
- name: codespell
|
- name: Static Spelling Analysis using codespell
|
||||||
run: make spell
|
run: make spell
|
||||||
|
|
||||||
unittest:
|
unittest:
|
||||||
@@ -67,5 +81,5 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get install -qq lcov
|
sudo apt-get install -qq lcov
|
||||||
- name: Run Unit Test
|
- name: Run Unit Test with Code Coverage
|
||||||
run: make test
|
run: make test
|
||||||
|
|||||||
Reference in New Issue
Block a user