s390x: Fix PyArrow build and add CPU test script for Buildkite CI (#16036)

Signed-off-by: Nishan Acharya <Nishan.Acharya@ibm.com>
This commit is contained in:
Nishan Acharya
2025-04-14 23:25:32 +05:30
committed by GitHub
parent 9883a18859
commit 7b5ecf79bd
2 changed files with 35 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
# This script build the CPU docker image and run the offline inference inside the container.
# It serves a sanity check for compilation and basic model usage.
set -ex
# Setup cleanup
remove_docker_container() { docker rm -f cpu-test || true; docker system prune -f; }
trap remove_docker_container EXIT
remove_docker_container
# Try building the docker image
docker build -t cpu-test -f docker/Dockerfile.s390x .