alexanderrichert-noaa/CI Multi-Profiler
Build with profiling instrumentation, run CTest, and upload artifacts. Supports Intel VTune, gprof, HPCToolkit, and Scalasca.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 1, 2026
- License
- None
Pinned Snippet
uses: alexanderrichert-noaa/ci-profile-tests@c880d3ddf11b26b4a7ec1ad1fe4f4d790df23fd2 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| profiling_tool | Profiling back-end: gprof | hpctoolkit | scalasca | vtune (self-hosted runners only) | no | gprof |
| checkout | Set to "true" to run actions/checkout before building. Set to "false" when the caller has already checked out the code (e.g. running in a container with the source pre-mounted). | no | true |
| source_dir | Path to the CMake source root (relative to GITHUB_WORKSPACE). | no | . |
| build_dir | Path to the CMake build directory (relative to GITHUB_WORKSPACE). | no | build |
| cmake_args | Extra CMake -D arguments forwarded verbatim to cmake configure. | no | "" |
| test_regex | CTest -R filter. Leave empty to run every test. | no | "" |
| label_regex | CTest --label-regex filter. Only tests whose labels match are run. Leave empty to skip this filter. | no | "" |
| label_exclude | CTest --label-exclude filter. Tests whose labels match are skipped. Leave empty to skip this filter. | no | "" |
| artifact_retention_days | How many days to retain the uploaded profiling artifact. | no | 14 |
| cmake_lists_file | Path to a CMakeLists.txt file (relative to source_dir) into which the PROFILING_INCLUDE_FILE guard snippet will be prepended automatically. Set to an empty string to skip injection entirely. | no | tests/CMakeLists.txt |
| cache_tools | Set to "true" to cache profiler installations with actions/cache so that subsequent workflow runs skip the download/install step. | no | true |
| hpctoolkit_version | HPCToolkit version to install. | no | — |
| vtune_version | Intel oneAPI VTune version to install. | no | — |
| scalasca_version | Scalasca version to install via Spack. | no | — |
Outputs
no outputs