Skip to content

Commit 4da2eb7

Browse files
committed
.github/workflows/mlir-tests.yml: Run test when mlir/ changes
1 parent 8e8db5e commit 4da2eb7

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/mlir-tests.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: MLIR Tests
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
workflow_dispatch:
8+
push:
9+
ignore-forks: true
10+
paths:
11+
- 'mlir/**'
12+
- '.github/workflows/mlir-tests.yml'
13+
- '.github/workflows/llvm-project-tests.yml'
14+
pull_request:
15+
ignore-forks: true
16+
paths:
17+
- 'mlir/**'
18+
- '.github/workflows/mlir-tests.yml'
19+
- '.github/workflows/llvm-project-tests.yml'
20+
21+
concurrency:
22+
# Skip intermediate builds: always.
23+
# Cancel intermediate builds: only if it is a pull request build.
24+
group: ${{ github.workflow }}-${{ github.ref }}
25+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
26+
27+
jobs:
28+
check_mlir:
29+
name: Test mlir
30+
uses: ./.github/workflows/llvm-project-tests.yml
31+
with:
32+
build_target: check-mlir
33+
projects: mlir

0 commit comments

Comments
 (0)