Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
camilo committed Oct 28, 2024
1 parent 769ae37 commit 6a59171
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/doxygen_gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
submodules: recursive
- name: create dirs
run: mkdir docout
- name: set repo url on corner
run: sed -i 's,https://github.com/jothepro/doxygen-awesome-css,https://github.com/kmilo17pet/qlibs,g' doc/stylesheet/doxygen-custom/header.html
- name: Doxygen Action
uses: mattnotmitt/doxygen-action@v1.9.2
uses: mattnotmitt/doxygen-action@edge
with:
doxyfile-path: './doc/Doxyfile'
- name: rm gitignore
run: rm .gitignore
run: rm .gitignore
- name: Deploy doc
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doxyout/html
publish_dir: ./doxyout/html
16 changes: 8 additions & 8 deletions .github/workflows/static-analisys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@ on:
paths-ignore:
- 'dep/**'
- 'doc/**'

jobs:
analize:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Update OS packages list
run: |
sudo apt-get update -yq
sudo apt-get update -yq
- name: Install analyzer
run: |
sudo apt-get install -y cppcheck python3
mkdir sa_results
- name: General checks
- name: General checks
run: cppcheck --enable=all --inline-suppr --inconclusive --std=c99 ./ -I ./include --output-file=./sa_results/general.txt --suppress=missingIncludeSystem --suppress=unmatchedSuppression:{}
- name: CERT checks
- name: CERT checks
run: cppcheck --addon=cert.py --inline-suppr --inconclusive --std=c99 ./ -I ./include --output-file=./sa_results/cert.txt --suppress=missingIncludeSystem --suppress=unmatchedSuppression:{}
- name: MISRA checks
- name: MISRA checks
run: cppcheck --addon=./check/misra.json --inline-suppr --inconclusive --std=c99 ./ -I ./include --output-file=./sa_results/misra.txt --suppress=missingIncludeSystem --suppress=unmatchedSuppression:{}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Static_Analisys_Results
path: sa_results

0 comments on commit 6a59171

Please sign in to comment.