Skip to content

Commit 2ab86f1

Browse files
[CI] Include check-libdevice to BUILD LIT checks (#9743)
1 parent 835ced6 commit 2ab86f1

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

.github/workflows/sycl_linux_build_and_test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ on:
8888
type: string
8989
required: false
9090
default: 'true'
91+
check_libdevice:
92+
type: string
93+
required: false
94+
default: 'true'
9195

9296
jobs:
9397
build:
@@ -160,6 +164,10 @@ jobs:
160164
if: ${{ always() && !cancelled() && steps.build.outcome == 'success' && inputs.check_libclc == 'true' }}
161165
run: |
162166
cmake --build $GITHUB_WORKSPACE/build --target check-libclc
167+
- name: check-libdevice
168+
if: ${{ always() && !cancelled() && steps.build.outcome == 'success' && inputs.check_libdevice == 'true' }}
169+
run: |
170+
cmake --build $GITHUB_WORKSPACE/build --target check-libdevice
163171
- name: Install
164172
# TODO replace utility installation with a single CMake target
165173
run: |

.github/workflows/sycl_precommit.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,17 @@ jobs:
6161
- *llvm_spirv
6262
- *clang
6363
- 'libclc/**'
64+
libdevice: &libdevice
65+
- *llvm_spirv
66+
- *clang
67+
- 'libdevice/**'
6468
sycl:
6569
- *clang
6670
- *sycl-fusion
6771
- *llvm_spirv
6872
- *xptifw
6973
- *libclc
74+
- *libdevice
7075
- 'sycl/*'
7176
- 'sycl/!(test-e2e)/**'
7277

.github/workflows/sycl_windows_build_and_test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ on:
4242
type: string
4343
required: false
4444
default: 'true'
45+
check_libdevice:
46+
type: string
47+
required: false
48+
default: 'true'
4549

4650
jobs:
4751
build:
@@ -114,6 +118,11 @@ jobs:
114118
shell: bash
115119
run: |
116120
cmake --build build --target check-xptifw
121+
- name: check-libdevice
122+
if: ${{ always() && !cancelled() && steps.build.outcome == 'success' && inputs.check_libdevice == 'true' }}
123+
shell: bash
124+
run: |
125+
cmake --build build --target check-libdevice
117126
- name: Install
118127
shell: bash
119128
# TODO replace utility installation with a single CMake target

0 commit comments

Comments
 (0)