Compare commits

..

1 commit

Author SHA1 Message Date
828d183939
ci: add --with-jtreg
Some checks failed
Docker Image CI / build-and-push (map[context:./ dockerfile:Dockerfile.openj9 image_name:openj9]) (pull_request) Failing after 5s
Docker Image CI / build-and-push (map[context:./ dockerfile:Dockerfile.piped image_name:piped]) (pull_request) Failing after 6s
2025-03-09 20:18:09 +04:00

View file

@ -8,7 +8,7 @@ RUN apt update \
ant ant-contrib autoconf build-essential ca-certificates cmake cpio curl file gcc-14 g++-14 gdb git \
libasound2-dev libcups2-dev libdwarf-dev libelf-dev libexpat1-dev libffi-dev libfontconfig libfontconfig1-dev \
libfreetype6-dev libnuma-dev libssl-dev libx11-dev libxext-dev libxrandr-dev libxrender-dev libxt-dev libxtst-dev \
make nasm pkg-config python3 python3-dev rsync systemtap-sdt-dev unzip wget xvfb zip zlib1g-dev execstack jtreg7 unzip \
make nasm pkg-config python3 python3-dev rsync systemtap-sdt-dev unzip wget xvfb zip zlib1g-dev execstack jtreg7 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /build
@ -18,12 +18,6 @@ RUN mkdir /build/bootjdk /build/dist \
&& tar -xzf jdk21.tar.gz --directory=/build/bootjdk --strip-components=1 \
&& rm -f jdk21.tar.gz
RUN wget --progress=dot:mega -O jtreg.zip https://builds.shipilev.net/jtreg/jtreg-7.5.1%2B1.zip \
&& unzip jtreg.zip /build/jtreg
&& rm -rf jtreg.zip
ENV JT_HOME=/build/jtreg
RUN find /build/bootjdk -name '*.so' | xargs execstack -c
RUN git clone --single-branch --depth 1 \
@ -33,7 +27,7 @@ RUN git clone --single-branch --depth 1 \
WORKDIR /build/src
RUN bash get_source.sh
RUN bash configure --with-jtreg=/build/jtreg --with-boot-jdk=/build/bootjdk --with-openssl=system --with-extra-ldflags="-Wl,-z,noexecstack"
RUN bash configure --with-jtreg --with-boot-jdk=/build/bootjdk --with-openssl=system --with-extra-ldflags="-Wl,-z,noexecstack"
RUN make all JOBS=$(nproc)
RUN make test TEST=tier2 JOBS=$(nproc)