Skip to content

Add GitHub Actions workflow for extended analysis#11

Merged
JacobBorden merged 1 commit intodevelopmentfrom
add-analysis-pipeline
May 31, 2025
Merged

Add GitHub Actions workflow for extended analysis#11
JacobBorden merged 1 commit intodevelopmentfrom
add-analysis-pipeline

Conversation

@JacobBorden
Copy link
Owner

This commit introduces a new GitHub Actions workflow file analysis.yml. This workflow includes three new jobs:

  1. asan-msan: Builds the project with Clang and runs tests with AddressSanitizer (ASan) and MemorySanitizer (MSan) enabled. This helps in detecting memory errors. The job runs in a Debug configuration.

  2. valgrind: Builds the project in Release mode and runs tests under Valgrind's memcheck tool. This provides an alternative method for memory error detection and leak finding.

  3. codeql-analysis: Integrates GitHub's CodeQL static analysis tool to scan the C/C++ codebase for potential security vulnerabilities and other code quality issues.

These jobs are configured to run on pushes and pull requests to the master and development branches, enhancing the CI process by adding comprehensive code analysis and memory safety checks.

This commit introduces a new GitHub Actions workflow file `analysis.yml`.
This workflow includes three new jobs:

1.  `asan-msan`: Builds the project with Clang and runs tests with AddressSanitizer (ASan) and MemorySanitizer (MSan) enabled. This helps in detecting memory errors. The job runs in a Debug configuration.

2.  `valgrind`: Builds the project in Release mode and runs tests under Valgrind's memcheck tool. This provides an alternative method for memory error detection and leak finding.

3.  `codeql-analysis`: Integrates GitHub's CodeQL static analysis tool to scan the C/C++ codebase for potential security vulnerabilities and other code quality issues.

These jobs are configured to run on pushes and pull requests to the `master` and `development` branches, enhancing the CI process by adding comprehensive code analysis and memory safety checks.
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@JacobBorden JacobBorden merged commit 94455b4 into development May 31, 2025
6 checks passed
@JacobBorden JacobBorden deleted the add-analysis-pipeline branch May 31, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant