-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding cuda_component.yml to test label.
- Loading branch information
Treece Burgess
committed
Nov 8, 2024
1 parent
3a87155
commit d8db022
Showing
1 changed file
with
42 additions
and
0 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,42 @@ | ||
name: CI just for the Cuda component. Must select a GitHub label for this to run. | ||
|
||
on: | ||
pull_request: | ||
types: [ labeled ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
papi_cuda_component: | ||
strategy: | ||
matrix: | ||
components: [cuda] | ||
debug: [yes, no] | ||
shlib: [with, without] | ||
fail-fast: false | ||
runs-on: [self-hosted, gpu_amd] | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Test | ||
run: .github/workflows/ci.sh ${{matrix.components}} ${{matrix.debug}} ${{matrix.shlib}} | ||
papi_spack: | ||
runs-on: cpu | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build/Test/Install via Spack | ||
run: .github/workflows/spack.sh | ||
papi_clang_analysis: | ||
runs-on: cpu | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run static analysis | ||
run: .github/workflows/clang_analysis.sh clang-analysis-output | ||
- name: Archive analysis results | ||
uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: clang-analysis-output | ||
path: src/clang-analysis-output |