File tree Expand file tree Collapse file tree 1 file changed +24
-7
lines changed Expand file tree Collapse file tree 1 file changed +24
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ permissions:
44 contents : read
55
66on :
7- workflow_dispatch :
87 pull_request :
98 paths :
109 - ' llvm/lib/Target/SPIRV/**'
2120 check_spirv :
2221 if : github.repository_owner == 'llvm'
2322 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="SPIRV" -DLLVM_INCLUDE_SPIRV_TOOLS_TESTS=ON'
29- os_list : ' ["ubuntu-24.04"]'
23+ runs-on : ubuntu-24.04
24+ container :
25+ image : ghcr.io/llvm/ci-ubuntu-24.04:latest
26+ steps :
27+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
28+ - name : Setup ccache
29+ uses : hendrikmuhs/ccache-action@a1209f81afb8c005c13b4296c32e363431bffea5 # v1.2.17
30+ with :
31+ max-size : 2G
32+ key : spirv-ubuntu-24.04
33+ variant : sccache
34+ - name : Build and Test
35+ run : |
36+ mkdir build
37+ cmake -GNinja \
38+ -S llvm \
39+ -B build \
40+ -DCMAKE_BUILD_TYPE=Release \
41+ -DLLVM_ENABLE_ASSERTIONS=ON \
42+ -DCMAKE_C_COMPILER_LAUNCHER=sccache \
43+ -DCMAKE_CXX_COMPILER_LAUNCHER=sccache \
44+ -DLLVM_TARGETS_TO_BUILD="SPIRV" \
45+ -DLLVM_INCLUDE_SPIRV_TOOLS_TESTS=ON
46+ ninja -C build check-llvm-codegen-spirv
You can’t perform that action at this time.
0 commit comments