Commit 49c6977e authored by Hiro's avatar Hiro 🏄
Browse files

Update gitlab ci

parent 327bfb26
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
variables:
 GIT_STRATEGY: clone
 JAVA_TOOL_OPTIONS: "-Dfile.encoding=UTF-8"

stages:
 - test

test:
 stage: test
 image: debian:buster
 image:
  name: debian:bookworm
  pull_policy: always # available: always, if-not-present, never
 script:
  - apt update
  - 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 install -y adoptopenjdk-8-hotspot ant ivy git
  - apt install -y openjdk-17-jdk ant ivy git
  - git submodule init
  - git submodule update
  - ant -lib /usr/share/java resolve