Skip to content

Commit 7122e57

Browse files
[CI] Upload windows symbols dump as part of build (#17247)
1 parent 451fb2d commit 7122e57

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/sycl-windows-build.yml

+14
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ on:
4343
type: choice
4444
options:
4545
- "[]"
46+
- '[sycl]'
4647
- '[llvm, clang, sycl, llvm_spirv, xptifw, libclc, libdevice]'
4748
build_cache_suffix:
4849
type: choice
@@ -164,6 +165,19 @@ jobs:
164165
if: always() && !cancelled() && contains(inputs.changes, 'libdevice')
165166
run: |
166167
cmake --build build --target check-libdevice
168+
- name: Generate/diff new ABI symbols
169+
if: always() && !cancelled() && contains(inputs.changes, 'sycl')
170+
shell: bash
171+
run: |
172+
LLVM_BIN_PATH="build/bin" python.exe src/sycl/tools/abi_check.py --mode dump_symbols --output build/new_sycl_symbols_windows.dump build/bin/sycl?.dll
173+
diff -Naur src/sycl/test/abi/sycl_symbols_windows.dump build/new_sycl_symbols_windows.dump || true
174+
- name: Upload new ABI symbols
175+
if: always() && !cancelled() && contains(inputs.changes, 'sycl')
176+
uses: actions/upload-artifact@v4
177+
with:
178+
name: sycl_windows_abi_symbols
179+
path: build/new_sycl_symbols_windows.dump
180+
retention-days: ${{ inputs.retention-days }}
167181
- name: Install
168182
if: ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
169183
shell: bash

0 commit comments

Comments
 (0)