[IRBuilder] Refactor FMF interface (#121657)
[llvm-project.git] / .github / workflows / spirv-tests.yml
blob75918e73e897374f3ca079c531ac2209550328d7
1 name: SPIR-V Tests
3 permissions:
4   contents: read
6 on:
7   workflow_dispatch:
8   pull_request:
9     paths:
10       - 'llvm/lib/Target/SPIRV/**'
11       - 'llvm/test/CodeGen/SPIRV/**'
12       - '.github/workflows/spirv-tests.yml'
14 concurrency:
15   # Skip intermediate builds: always.
16   # Cancel intermediate builds: only if it is a pull request build.
17   group: ${{ github.workflow }}-${{ github.ref }}
18   cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
20 jobs:
21   check_spirv:
22     if: github.repository_owner == 'llvm'
23     name: Test SPIR-V
24     uses: ./.github/workflows/llvm-project-tests.yml
25     with:
26       build_target: check-llvm-codegen-spirv
27       projects:
28       extra_cmake_args: '-DLLVM_TARGETS_TO_BUILD="" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="SPIRV" -DLLVM_INCLUDE_SPIRV_TOOLS_TESTS=ON'
29       os_list: '["ubuntu-latest"]'