Skip to content

Commit

Permalink
Update to Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
joonhaengHeo committed Jan 17, 2025
1 parent 9a433a0 commit 8531a5a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/full-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
name: Run

env:
JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64/
JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64/

runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoketest-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
name: Smoke Run - Android

env:
JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64/
JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64/

runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'
Expand Down
4 changes: 2 additions & 2 deletions integrations/docker/images/chip-cert-bins/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ RUN set -x \
make \
net-tools \
ninja-build \
openjdk-11-jdk \
openjdk-8-jdk \
pkg-config \
python3 \
python3-dev \
Expand Down Expand Up @@ -302,7 +302,7 @@ COPY --from=chip-build-cert-bins /root/connectedhomeip/src/python_testing/requir
RUN pip install --break-system-packages -r /tmp/requirements.txt && rm /tmp/requirements.txt

# PIP requires MASON package compilation, which seems to require a JDK
RUN set -x && DEBIAN_FRONTEND=noninteractive apt-get update; apt-get install -fy openjdk-11-jdk
RUN set -x && DEBIAN_FRONTEND=noninteractive apt-get update; apt-get install -fy openjdk-8-jdk

RUN pip install --break-system-packages --no-cache-dir \
python_lib/obj/src/python_testing/matter_testing_infrastructure/chip-testing._build_wheel/chip_testing-*.whl \
Expand Down
4 changes: 2 additions & 2 deletions integrations/docker/images/stage-2/chip-build-java/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=1
ARG VERSION=2
FROM ghcr.io/project-chip/chip-build:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand All @@ -20,4 +20,4 @@ RUN set -x \
&& : # last line

ENV PATH $PATH:/usr/lib/kotlinc/bin
ENV JAVA_PATH=/usr/lib/jvm/java-8-openjdk-amd64
ENV JAVA_PATH=/usr/lib/jvm/java-11-openjdk-amd64
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=1
ARG VERSION=2
FROM ghcr.io/project-chip/chip-build-java:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@ RUN set -x \
# - telnet
# - srecord
# For java builds:
# - openjdk-11-jdk
# - openjdk-8-jdk
RUN set -x \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy --no-install-recommends \
zip \
expect \
telnet \
srecord \
openjdk-11-jdk \
openjdk-8-jdk \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/ \
&& : # last line
Expand Down

0 comments on commit 8531a5a

Please sign in to comment.