forked from DarkCat09/docker-openj9-piped
ci: an idea
Some checks are pending
Some checks are pending
This commit is contained in:
parent
404dec0f40
commit
7eff200969
2 changed files with 15 additions and 8 deletions
|
@ -2,7 +2,7 @@ name: Docker Image CI
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: ['main']
|
||||
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
|
@ -24,9 +24,11 @@ jobs:
|
|||
- dockerfile: 'Dockerfile.openj9'
|
||||
image_name: 'openj9'
|
||||
context: './'
|
||||
build-args: ["WITH_JDK=false"]
|
||||
- dockerfile: 'Dockerfile.piped'
|
||||
image_name: 'piped'
|
||||
context: './'
|
||||
build-args: []
|
||||
# Add more images as needed
|
||||
|
||||
steps:
|
||||
|
@ -67,3 +69,4 @@ jobs:
|
|||
push: ${{ github.event_name == 'push' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
build-args: ${{ matrix.images.build-args }}
|
|
@ -33,6 +33,7 @@ RUN git clone --single-branch --depth 1 \
|
|||
WORKDIR /build/src
|
||||
RUN bash get_source.sh
|
||||
|
||||
RUN bash configure --help
|
||||
RUN bash configure --with-jtreg=/build/jtreg --with-boot-jdk=/build/bootjdk --with-openssl=system --with-extra-ldflags="-Wl,-z,noexecstack"
|
||||
RUN make all JOBS=$(nproc)
|
||||
RUN make install
|
||||
|
@ -58,14 +59,17 @@ ENV TEST_JDK_HOME=/build/src/build/linux-x86_64-server-release/images/jdk
|
|||
ENV TEST_ROOT=/build/openj9-repo/test
|
||||
ENV DIAGNOSTICLEVEL=nodetails
|
||||
|
||||
RUN git clone --depth=1 https://github.com/eclipse-openj9/openj9.git /build/openj9-repo
|
||||
# RUN git clone --depth=1 https://github.com/eclipse-openj9/openj9.git /build/openj9-repo
|
||||
|
||||
RUN cd /build/openj9-repo/test \
|
||||
&& git clone https://github.com/adoptium/TKG.git \
|
||||
&& cd TKG \
|
||||
&& make compile -j$(nproc) \
|
||||
&& make _sanity.openjdk.regular -j$(nproc)
|
||||
# RUN cd /build/openj9-repo/test \
|
||||
# && git clone https://github.com/adoptium/TKG.git \
|
||||
# && cd TKG \
|
||||
# && make compile -j$(nproc) \
|
||||
# && make _testList TESTLIST=jit_jitt,jit_recognizedMethod,testSCCMLTests2_1 -j$(nproc)
|
||||
|
||||
RUN ls /build/src/build/linux-x86_64-server-release/images
|
||||
RUN ls /build/src/build/linux-x86_64-server-release/images/jdk
|
||||
RUN ls /build/src/build/linux-x86_64-server-release/images/jre
|
||||
|
||||
WORKDIR /build/src/build/linux-x86_64-server-release/images
|
||||
RUN mv ./* /build/dist/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue