Skip to content

Workflow Updates for GitHub CI #2

Workflow Updates for GitHub CI

Workflow Updates for GitHub CI #2

name: powercap
on:
pull_request:
# run CI only if powercap directory or powercap sub-directories receive updates
# run CI if framework receives an update
paths:
- 'src/components/powercap/**'
- 'src/*'
jobs:
component_tests:
strategy:
matrix:
component: [powercap]
debug: [yes, no]
shlib: [with, without]
fail-fast: false
runs-on: [self-hosted, cpu_intel]
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: powercap component tests
run: .github/workflows/ci_per_component.sh ${{matrix.component}} ${{matrix.debug}} ${{matrix.shlib}}