image: bellsoft/liberica-openjdk-alpine:latest before_script: - apk update && apk add apache-ant unzip wget openssh-client git - git submodule sync --recursive - git submodule update --init --recursive stages: - style ci_style: stage: style script: - export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 - wget https://github.com/checkstyle/checkstyle/releases/download/checkstyle-8.34/checkstyle-8.34-all.jar -O checkstyle.jar - java -jar checkstyle.jar -c CheckStyle.xml `find src/ -name "*.java"` - java -jar checkstyle.jar -c CheckStyle.xml `find test/src/ -name "*.java"`