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