Workflow Updates for GitHub CI #885
Workflow file for this run
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
name: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
papi_component: | |
strategy: | |
matrix: | |
components: [cuda nvml lmsensors io net powercap appio coretemp rapl sde stealtime] | |
debug: [yes, no] | |
shlib: [with, without] | |
fail-fast: false | |
runs-on: [self-hosted, cpu_intel, gpu_nvidia] | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test | |
run: .github/workflows/ci.sh "${{matrix.components}}" ${{matrix.debug}} ${{matrix.shlib}} | |
papi_component_amd: | |
strategy: | |
matrix: | |
components: [rocm rocm_smi] | |
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_component_intel_gpu: | |
strategy: | |
matrix: | |
components: [intel_gpu] | |
debug: [yes, no] | |
shlib: [with, without] | |
fail-fast: false | |
runs-on: [self-hosted, gpu_intel] | |
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 |