Skip to content

Workflow Updates for GitHub CI #7

Workflow Updates for GitHub CI

Workflow Updates for GitHub CI #7

Workflow file for this run

name: Component specific CI
on:
push:
types: [ labeled ]
pull_request:
types: [ labeled, opened, synchronize, reopened ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
papi_cuda_component:
if: contains(github.event.labels.*.name, 'Component: cuda')

Check failure on line 14 in .github/workflows/per_component.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/per_component.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
strategy:
matrix:
components: [cuda]
debug: [yes, no]
shlib: [with, without]
fail-fast: false
runs-on: [self-hosted, gpu_nvidia]
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: Test
run: .github/workflows/ci.sh ${{matrix.components}} ${{matrix.debug}} ${{matrix.shlib}}
papi_rocm_component:
if: ${{ github.event.label.name == 'Component: rocm' }}
strategy:
matrix:
components: [rocm]
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}}