generated from seqan/app-template
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #456 from eseiler/infra/codechecker
[INFRA] Codechecker
- Loading branch information
Showing
15 changed files
with
116 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin | ||
# SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
version = 1 | ||
SPDX-PackageName = "Raptor" | ||
SPDX-PackageDownloadLocation = "https://github.com/seqan/raptor/" | ||
|
||
[[annotations]] | ||
path = "cppcheck" | ||
precedence = "aggregate" | ||
SPDX-FileCopyrightText = ["2006-2024, Knut Reinert & Freie Universität Berlin", "2016-2024, Knut Reinert & MPI für molekulare Genetik"] | ||
SPDX-License-Identifier = "CC0-1.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# SPDX-FileCopyrightText: 2006-2024, Knut Reinert & Freie Universität Berlin | ||
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
+${GITHUB_WORKSPACE}/* | ||
-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# SPDX-FileCopyrightText: 2006-2024, Knut Reinert & Freie Universität Berlin | ||
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
analyze: | ||
- --enable=performance | ||
- --cppcheckargs=${GITHUB_WORKSPACE}/.github/config/cppcheck | ||
- --enable=bugprone | ||
- --disable=bugprone-easily-swappable-parameters | ||
- --disable=bugprone-narrowing-conversions | ||
- --disable=clang-diagnostic-implicit-int-float-conversion | ||
- --disable=clang-diagnostic-float-conversion | ||
- --disable=clang-diagnostic-implicit-int-conversion | ||
- --skip=${GITHUB_WORKSPACE}/.github/config/codechecker.skip | ||
- --clean | ||
|
||
parse: | ||
- --export=html | ||
- --output=./html | ||
- --skip=${GITHUB_WORKSPACE}/.github/config/codechecker.skip | ||
- --trim-path-prefix=${GITHUB_WORKSPACE}/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--check-level=exhaustive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# SPDX-FileCopyrightText: 2006-2024, Knut Reinert & Freie Universität Berlin | ||
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
name: CodeChecker | ||
|
||
on: | ||
schedule: | ||
- cron: "0 4 * * THU" | ||
workflow_dispatch: | ||
|
||
env: | ||
TZ: Europe/Berlin | ||
|
||
defaults: | ||
run: | ||
shell: bash -Eexuo pipefail {0} | ||
|
||
jobs: | ||
build: | ||
name: CodeChecker | ||
runs-on: ubuntu-latest | ||
if: github.repository_owner == 'seqan' || github.event_name == 'workflow_dispatch' | ||
container: | ||
image: ghcr.io/seqan/clang-19 | ||
volumes: | ||
- /home/runner:/home/runner | ||
steps: | ||
- name: Run CodeChecker | ||
uses: seqan/actions/codechecker@main | ||
with: | ||
deploy_host: ${{ secrets.DEPLOY_HOST }} | ||
deploy_user: ${{ secrets.DEPLOY_USER }} | ||
deploy_ssh_key: ${{ secrets.DEPLOY_SSH_KEY }} | ||
deploy_path: ${{ secrets.DEPLOY_CODECHECKER_PATH }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
namespace raptor | ||
{ | ||
|
||
enum class file_types | ||
enum class file_types : uint8_t | ||
{ | ||
sequence, | ||
minimiser | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters