Skip to content

Commit

Permalink
Adding --with-shlib-tools to CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Ragghianti committed Aug 19, 2024
1 parent acc8a9e commit d4612ab
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 14 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

COMPONENT=$1
DEBUG=$2
COMPILER=$3
SHLIB=$3
COMPILER=$4


[ -z "$COMPILER" ] && COMPILER=gcc@11

Expand Down Expand Up @@ -44,9 +46,9 @@ if [ "$COMPONENT" = "infiniband_umad" ]; then
fi

if [ "$COMPONENT" = "perf_event" ]; then
./configure --with-debug=$DEBUG --enable-warnings
./configure --with-debug=$DEBUG --enable-warnings --$SHLIB-shlib-tools
else
./configure --with-debug=$DEBUG --enable-warnings --with-components=$COMPONENT
./configure --with-debug=$DEBUG --enable-warnings --$SHLIB-shlib-tools --with-components=$COMPONENT
fi

make -j4
Expand Down
38 changes: 27 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,57 +10,73 @@ on:
workflow_dispatch:

jobs:
papi_component:
papi_component_cpu:
strategy:
matrix:
component: [perf_event, lmsensors, io, net, powercap, appio, coretemp, stealtime]
component: [perf_event, lmsensors, io, net, appio, coretemp, stealtime]
debug: [yes, no]
shlib: [with, without]
fail-fast: false
runs-on: cpu
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: Test
run: .github/workflows/ci.sh ${{matrix.component}} ${{matrix.debug}} ${{matrix.shlib}}
papi_component_cpu_intel:
strategy:
matrix:
component: [powercap]
debug: [yes, no]
shlib: [with, without]
fail-fast: false
runs-on: cpu_intel
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test
run: .github/workflows/ci.sh ${{matrix.component}} ${{matrix.debug}}
run: .github/workflows/ci.sh ${{matrix.component}} ${{matrix.debug}} ${{matrix.shlib}}
papi_component_nvidia:
strategy:
matrix:
component: [cuda, nvml]
debug: [yes, no]
shlib: [with, without]
fail-fast: false
runs-on: gpu_nvidia
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test
run: .github/workflows/ci.sh ${{matrix.component}} ${{matrix.debug}}
run: .github/workflows/ci.sh ${{matrix.component}} ${{matrix.debug}} ${{matrix.shlib}}
papi_component_amd:
strategy:
matrix:
component: [rocm, rocm_smi]
debug: [yes, no]
shlib: [with, without]
fail-fast: false
runs-on: gpu_amd
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test
run: .github/workflows/ci.sh ${{matrix.component}} ${{matrix.debug}}
run: .github/workflows/ci.sh ${{matrix.component}} ${{matrix.debug}} ${{matrix.shlib}}
papi_spack:
runs-on: cpu
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- 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@v3
- 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
uses: actions/upload-artifact@v4
if: always()
with:
name: clang-analysis-output
Expand Down

0 comments on commit d4612ab

Please sign in to comment.