forked from GriefPrevention/GriefPrevention
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathappveyor.yml
More file actions
30 lines (30 loc) · 657 Bytes
/
appveyor.yml
File metadata and controls
30 lines (30 loc) · 657 Bytes
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}'
skip_tags: true
clone_depth: 10
environment:
matrix:
- appveyor_build_worker_image: Visual Studio 2022
JAVA_HOME: C:\Program Files\Java\jdk21
branches:
only:
- master
- dev/v20
- legacy/v16
except:
- gh-pages
init:
- cmd: SET PATH=%JAVA_HOME%\bin;%PATH%
install:
- cmd: SET MAVEN_OPTS=-Xmx4g
- cmd: SET JAVA_OPTS=-Xmx4g
- cmd: mvn --version
- cmd: java -version
build_script:
- mvn clean package -DskipTests --batch-mode
test_script:
- mvn dependency:properties surefire:test --batch-mode
cache:
- C:\Users\appveyor\.m2
artifacts:
- path: target/GriefPrevention.jar
name: GriefPrevention