ci(xpu): clean build artifacts in cleanup (#27648)

Co-authored-by: Patil, Jitendra <jitendra.patil@intel.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
ashwini rathi
2026-06-10 09:46:54 +08:00
committed by GitHub
co-authored by Patil, Jitendra Claude Opus 4.7
parent 5809bbe35d
commit 6110ed671f
2 changed files with 27 additions and 8 deletions
+18 -2
View File
@@ -118,7 +118,15 @@ jobs:
- name: Cleanup container
if: always()
run: docker rm -f ci_sglang_xpu || true
run: |
rm -rf \
python/build \
python/sglang.egg-info \
test/result.jsonl || true
docker rm -f ci_sglang_xpu || true
if [[ -n "${CI_SGLANG_XPU_IMAGE:-}" ]]; then
docker rmi -f "${CI_SGLANG_XPU_IMAGE}" || true
fi
# ==================== Wait for Stage A ==================== #
wait-for-stage-a:
@@ -173,7 +181,15 @@ jobs:
- name: Cleanup container
if: always()
run: docker rm -f ci_sglang_xpu || true
run: |
rm -rf \
python/build \
python/sglang.egg-info \
test/result.jsonl || true
docker rm -f ci_sglang_xpu || true
if [[ -n "${CI_SGLANG_XPU_IMAGE:-}" ]]; then
docker rmi -f "${CI_SGLANG_XPU_IMAGE}" || true
fi
finish:
if: always()