-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
30 lines (30 loc) · 1.05 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: '{build}'
clone_depth: 3
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64/
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
JAVA_HOME: C:\Program Files\Java\jdk11
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
JAVA_HOME: C:\Program Files\Java\jdk17
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
JAVA_HOME: C:\Program Files\Java\jdk21
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64/
DEPLOY: 1
matrix:
fast_finish: true
install:
- bash -c "mkdir -p $HOME/.m2"
build_script:
- mvn install --settings .ci-settings.xml -DskipTests=true -U -B
test_script:
- mvn test -Dassembly.skipAssembly=true -B
deploy_script:
- bash -c "if [ ${DEPLOY} ] && [ ${APPVEYOR_REPO_BRANCH} = 'main' ]; then mvn deploy --settings .ci-settings.xml -DskipTests=true -B; fi"
cache:
- '%USERPROFILE%\.m2'
- '$HOME/.m2'