File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change 19
19
runs-on : ${{matrix.adapter.name}}
20
20
21
21
steps :
22
+ # Workspace on self-hosted runners is not cleaned automatically.
23
+ # We have to delete the files created outside of using actions.
24
+ - name : Cleanup self-hosted workspace
25
+ if : always()
26
+ run : |
27
+ ls -la ./
28
+ rm -rf ./* || true
29
+
22
30
- name : Checkout UR
23
31
uses : actions/checkout@v4
24
32
with :
36
44
working-directory : ${{github.workspace}}/ur-repo
37
45
run : pip install -r third_party/requirements.txt
38
46
39
- - name : Download DPC++
40
- run : |
41
- wget -O dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2023-09-21/sycl_linux.tar.gz
42
- mkdir dpcpp_compiler
43
- tar -xvf dpcpp_compiler.tar.gz -C dpcpp_compiler
44
-
45
47
- name : Configure CMake UR
46
48
working-directory : ${{github.workspace}}/ur-repo
47
49
run : >
53
55
-DUR_ENABLE_TRACING=ON
54
56
-DUR_DEVELOPER_MODE=ON
55
57
-DUR_BUILD_ADAPTER_${{matrix.adapter.name}}=ON
56
- -DUR_DPCXX=${{github.workspace}}/dpcpp_compiler/bin/clang++
57
58
58
59
- name : Build UR
59
60
run : LD_LIBRARY_PATH=${{github.workspace}}/dpcpp_compiler/lib
@@ -112,11 +113,3 @@ jobs:
112
113
113
114
- name : Run e2e tests
114
115
run : ninja -C build-e2e check-sycl-e2e
115
-
116
- # Workspace on self-hosted runners is not cleaned automatically.
117
- # We have to delete the files created outside of using actions.
118
- - name : Cleanup self-hosted workspace
119
- if : always()
120
- run : |
121
- ls -la ./
122
- rm -rf ./* || true
You can’t perform that action at this time.
0 commit comments