Skip to content

Commit

Permalink
Merge branch 'main' into msaroufim-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
msaroufim committed Oct 15, 2024
2 parents 73711cb + 68ab0d6 commit 445cf4b
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/kernel-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,30 @@ on:
pull_request:
workflow_dispatch:
schedule:
# Runs at 12:00 PM UTC, which is 5:00 AM PST
- cron: '0 12 * * *'
# Runs at 12:00 PM UTC, which is 5:00 AM PST
- cron: '0 12 * * *'

concurrency:
# A PR number if a pull request and otherwise the commit hash. This cancels
# queued and in-progress runs for the same PR (presubmit) or commit
# (postsubmit). The workflow name is prepended to avoid conflicts between
# different workflows.
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true

jobs:
check-changes:
runs-on: ubuntu-latest
outputs:
run_benchmarks: ${{ steps.filter.outputs.kernels }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
kernels:
- 'kernels/**'
kernel-bench:
needs: check-changes
if: ${{ needs.check-changes.outputs.run_benchmarks == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
runs-on: amdgpu-mi250-x86-64
steps:
- name: Checkout Repo
Expand Down

0 comments on commit 445cf4b

Please sign in to comment.