-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Framework: Expand CodeQL job to run on all non-deprecated packages modified at a time #13478
base: develop
Are you sure you want to change the base?
Conversation
Want to test the difference in speed with its current configuration settings on a self-hosted machine (using our gcc-serial containers for now). Signed-off-by: Anderson Chauphan <[email protected]>
Signed-off-by: Anderson Chauphan <[email protected]>
Our gcc-openmpi runner has the necessary TPLs required to configure and build.
Looks reasonable to me! @achauphan |
Move get dependencies to its own step to utilize unique bash arguments. This is due to how LoadEnv from GenConfig spawns a subshell.
.github/workflows/codeql.yml
Outdated
cd trilinos_build | ||
|
||
bash ${GITHUB_WORKSPACE}/packages/framework/GenConfig/LoadEnv/load-env.sh --force rhel8_gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables | ||
|
||
cmake -G 'Unix Makefiles' -DTrilinos_ENABLE_TESTS=OFF -DTrilinos_ENABLE_Epetra=OFF -DTrilinos_ENABLE_AztecOO=OFF -DTrilinos_ENABLE_Ifpack=OFF -DTrilinos_ENABLE_ML=OFF -D Trilinos_ENABLE_Triutils=OFF -DTrilinos_ENABLE_Tpetra=ON -DTrilinos_ENABLE_MueLu=ON -DTrilinos_ENABLE_Krino=OFF .. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be changed to build the correct set of packages (the ones modified as part of this PR, but not downstream ones).
Could also use the PR scripts to facilitate this, and maybe add the configure option that turns off downstream packages (something like Trilinos_ENABLE_DOWNSTREAM_PACKAGES
ish)? Using GenConfig will likely fix your issues with not finding TPLs.
@trilinos/framework @csiefer2
Motivation
The current CodeQL test configuration will run only on Tpetra and MueLu. We want to expand CodeQL's analysis to include all non-deprecated packages that were modified in a PR (ignore downstream packages).
Doing so will increase build time, so this will need to run on our self-hosted runners being spawned by the AutoTester2.
Related Issues
Testing
Testing CodeQL changes will occur within this PR using the AutoTester2 system while the
[WIP]
label is being used.