Skip to content

Commit

Permalink
#sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
serges147 committed May 8, 2024
1 parent 77bea0a commit eb542e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ jobs:
- name: Run build-wrapper
run: |
cd build || die
pwd
ls -la
build-wrapper-linux-x86-64 --out-dir . make unittest VERBOSE=1 || die "Build wrapper failed"
cd ..
build-wrapper-linux-x86-64 --out-dir . cmake --build . --target unittest VERBOSE=1 || die "Build wrapper failed"
- name: Run sonar-scanner
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 2 additions & 0 deletions build-tools/bin/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,8 @@ def _cmake_configure(args: argparse.Namespace, cmake_args: typing.List[str]) ->

# --[BUILD FLAVOR]-------------------------------------
cmake_configure_args.append("-DCMAKE_BUILD_TYPE={}".format(args.build_flavor))
if args.build_flavor == "Coverage":
cmake_configure_args.append("-DNO_STATIC_ANALYSIS:BOOL=ON")

# --[COMPILER FLAGS]-----------------------------------
flag_set_dir = _test_suite_dir(args) / pathlib.Path("cmake") / pathlib.Path("compiler_flag_sets")
Expand Down

0 comments on commit eb542e2

Please sign in to comment.