Commit 5d79e1a8 authored by Iain Learmonth's avatar Iain Learmonth
Browse files

Use AdoptOpenJDK 8 for CI

parent 3feeae10
Pipeline #5116 failed with stage
in 11 seconds
......@@ -8,10 +8,13 @@ test:
stage: test
image: debian:buster
script:
- apt install -y wget apt-transport-https gnupg
- wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add -
- echo "deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb buster main" | tee /etc/apt/sources.list.d/adoptopenjdk.list
- apt update
- apt -y install default-jdk ant ivy git
- apt install -y adoptopenjdk-8-hotspot ant ivy git
- git submodule init
- git submodule update
- ant -lib /usr/share/java resolve
- ant test
- ant checks
- JAVA_HOME="/usr/lib/jvm/adoptopenjdk-8-hotspot/" ant -lib /usr/share/java resolve
- JAVA_HOME="/usr/lib/jvm/adoptopenjdk-8-hotspot/" ant test
- JAVA_HOME="/usr/lib/jvm/adoptopenjdk-8-hotspot/" ant checks
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment