From 4f1eb30eb840ee1271a2f8bcca53d5dcc745cb95 Mon Sep 17 00:00:00 2001 From: nm17 Date: Sun, 9 Mar 2025 19:29:02 +0400 Subject: [PATCH] ci: add test suite check --- Dockerfile.openj9 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile.openj9 b/Dockerfile.openj9 index f30b14c..0df04a7 100644 --- a/Dockerfile.openj9 +++ b/Dockerfile.openj9 @@ -18,6 +18,8 @@ RUN mkdir /build/bootjdk /build/dist \ && tar -xzf jdk21.tar.gz --directory=/build/bootjdk --strip-components=1 \ && rm -f jdk21.tar.gz +RUN find /build/bootjdk -name '*.so' | xargs execstack -c + RUN git clone --single-branch --depth 1 \ https://github.com/ibmruntimes/openj9-openjdk-jdk21.git \ /build/src @@ -27,6 +29,7 @@ RUN bash get_source.sh RUN bash configure --with-boot-jdk=/build/bootjdk --with-openssl=system --with-extra-ldflags="-Wl,-z,noexecstack" RUN make all JOBS=$(nproc) +RUN make test JOBS=$(nproc) # jlink by advice from https://adoptium.net/blog/2021/10/jlink-to-produce-own-runtime/ WORKDIR /build/src/build/linux-x86_64-server-release/images @@ -43,6 +46,7 @@ openj9.sharedclasses,openj9.zosconditionhandling RUN mv ./* /build/dist/ + # ------ FROM ubuntu:25.04 AS run