Skip to content

Commit 0301179

Browse files
[mlir][spv] Add mlir-spirv-tests CI to run for mlir-spv target tests
This should execute also the MLIR SPIRV Target tests which require the SPIRV-Tools validation Signed-off-by: Davide Grohmann <[email protected]> Change-Id: Ied323152e36b95d6f21ed7d4ce4f5f813f280f17
1 parent e0df5f8 commit 0301179

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: MLIR SPIR-V Tests
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
workflow_dispatch:
8+
pull_request:
9+
paths:
10+
- 'mlir/test/Target/SPIRV/**'
11+
- '.github/workflows/mlir-spirv-tests.yml'
12+
13+
concurrency:
14+
# Skip intermediate builds: always.
15+
# Cancel intermediate builds: only if it is a pull request build.
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
18+
19+
jobs:
20+
check_spirv:
21+
if: github.repository_owner == 'llvm'
22+
name: Test MLIR SPIR-V
23+
uses: ./.github/workflows/llvm-project-tests.yml
24+
with:
25+
build_target: check-mlir
26+
projects: mlir
27+
extra_cmake_args: '-DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_INCLUDE_SPIRV_TOOLS_TESTS=ON'
28+
os_list: '["ubuntu-24.04"]'

0 commit comments

Comments
 (0)