[SPIR-V] Fix emission of debug and annotation instructions and add SPV_EXT_optnone SPIR-V extension #1093
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: SPIR-V Tests | |
| permissions: | |
| contents: read | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - 'llvm/lib/Target/SPIRV/**' | |
| - 'llvm/test/CodeGen/SPIRV/**' | |
| - '.github/workflows/spirv-tests.yml' | |
| concurrency: | |
| # Skip intermediate builds: always. | |
| # Cancel intermediate builds: only if it is a pull request build. | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
| jobs: | |
| check_spirv: | |
| if: github.repository_owner == 'llvm' | |
| name: Test SPIR-V | |
| uses: ./.github/workflows/llvm-project-tests.yml | |
| with: | |
| build_target: check-llvm-codegen-spirv | |
| projects: | |
| extra_cmake_args: '-DLLVM_TARGETS_TO_BUILD="" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="SPIRV" -DLLVM_INCLUDE_SPIRV_TOOLS_TESTS=ON' | |
| os_list: '["ubuntu-latest"]' |