-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
88 lines (88 loc) · 2.4 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: '{build}'
clone_depth: 3
image:
- Visual Studio 2019
environment:
JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
compile_options: -B -P ${job_name}
deploy_options: -B -pl !minisat4j -P ${job_name}
matrix:
- job_name: linux-x86-64
job_group: jnalib
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
DEPLOY: 1
- job_name: i686-w64-mingw32
job_group: jnalib
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
DEPLOY: 1
- job_name: x86_64-w64-mingw32
job_group: jnalib
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
DEPLOY: 1
- job_name: darwin
job_group: jnalib
APPVEYOR_BUILD_WORKER_IMAGE: macos
DEPLOY: 1
- job_name: java8-win-x64-deploy
job_group: java
job_depends_on: jnalib
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
DEPLOY: 1
- job_name: java8-win-x86
job_group: java
job_depends_on: jnalib
JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
- job_name: java11-win-x64
job_group: java
job_depends_on: jnalib
JAVA_HOME: C:\Program Files\Java\jdk11
- job_name: java17-win-x64
job_group: java
job_depends_on: jnalib
JAVA_HOME: C:\Program Files\Java\jdk17
matrix:
fast_finish: true
install:
- bash -c "mkdir -p $HOME/.m2"
- bash -c "cp -f .settings.xml $HOME/.m2/settings.xml"
build: Script
build_script:
- bash -c "mvn install -DskipTests=true -U ${compile_options}"
test_script:
- bash -c "mvn test -Dassembly.skipAssembly=true ${compile_options}"
deploy_script:
- bash -c "if [ ${DEPLOY} ]; then mvn source:jar deploy -DskipTests=true ${deploy_options}; fi"
cache:
- $HOME/.m2/
for:
-
matrix:
only:
- job_name: darwin
environment:
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALL_CLEANUP: 1
JAVA_HOME:
init:
- brew install maven wget
- sudo mv /Library/Developer/CommandLineTools/SDKs /tmp/
-
matrix:
only:
- job_name: i686-w64-mingw32
- job_name: x86_64-w64-mingw32
environment:
compile_options: ${deploy_options}
init:
- sudo apt-get install mingw-w64 -y -qq
-
matrix:
only:
- job_group: java
environment:
compile_options: -B -pl !minisat -P multi-platform
deploy_options: ${compile_options}
init:
- cmd: SET PATH=%JAVA_HOME%\bin;%PATH%
cache:
- C:\Users\appveyor\.m2