Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
camilo committed Oct 28, 2024
1 parent 7fd1a5b commit 6a92a25
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ on:
- 'doc/**'
- 'examples/**'
- '.vscode/**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive

- name: cmake preparation
run: mkdir build && cd build && cmake ..

- name: build
working-directory: ./build
run: make VERBOSE=1
4 changes: 2 additions & 2 deletions .github/workflows/doxygen_gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
- name: create dirs
Expand All @@ -33,7 +33,7 @@ jobs:
- name: 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
12 changes: 6 additions & 6 deletions .github/workflows/static-analisys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,24 @@ on:
- 'doc/**'
- 'examples/**'
- 'tools/**'

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=c++11 ./src -I ./src/config -I ./src/include --output-file=./sa_results/general.txt --suppress=missingIncludeSystem --suppress=unmatchedSuppression:{} --suppress=unusedFunction:{}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Static_Analisys_Results
path: sa_results
2 changes: 2 additions & 0 deletions src/include/helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,11 @@ namespace qOS {
template <typename DT, typename ST>
inline DT aligned_cast( ST& src )
{
/*cstat -CERT-EXP33-C_a*/
DT dst;
(void)memcpy( &dst, &src, sizeof(ST) );
return dst;
/*cstat +CERT-EXP33-C_a*/
}
/*! @endcond */

Expand Down

0 comments on commit 6a92a25

Please sign in to comment.