-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
77 lines (73 loc) · 1.95 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
branches:
only:
- java11
image:
- Visual Studio 2019
- Ubuntu2004
- macOS-BigSur
for:
-
matrix:
only:
- image: macOS-BigSur
init:
- sh: |
brew install maven
brew install openjdk@11
sudo ln -sfn /usr/local/opt/openjdk@11/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-11.jdk
environment:
HOMEBREW_NO_INSTALL_CLEANUP: 1
HOMEBREW_NO_AUTO_UPDATE: 1
cache: $HOME/.m2
build_script:
- sh: |
/usr/libexec/java_home -V
export JAVA_HOME=`/usr/libexec/java_home -v 11`
JavaPath=$(which java)
sudo sqlite3 "$HOME/Library/Application Support/com.apple.TCC/TCC.db" "insert into access (service, client, client_type, allowed, prompt_count, indirect_object_identifier_type, indirect_object_identifier) values ('kTCCServiceAppleEvents', '$JavaPath', 1, 1, 1, 0, 'com.apple.finder')"
mvn -v
mvn -B -DskipTests clean package
artifacts:
- path: xpman-fx-dist/target/*.dmg
- path: xpman-fx-dist/target/*.pkg
-
matrix:
only:
- image: Ubuntu2004
stack: jdk 11
init:
- sh: |
sudo rm /usr/lib/jvm/java-11-openjdk-amd64/java-11-openjdk-amd64
cache: $HOME/.m2
build_script:
- sh: |
export PATH=${JAVA_HOME_11_X64}/bin:$PATH
unset JAVA_HOME
mvn -v
mvn -B -DskipTests clean package
artifacts:
- path: xpman-fx-dist/target/*.deb
- path: xpman-fx-dist/target/*.rpm
-
matrix:
only:
- image: Visual Studio 2019
cache:
- "%USERPROFILE%\\.m2"
init:
- ps: iwr -useb get.scoop.sh | iex
- cmd: |
scoop bucket add extras
scoop install inno-setup
scoop install wixtoolset
build_script:
- cmd: |
set
path C:\Program Files\Java\jdk11\bin;%PATH%
java -version
set JAVA_HOME=C:\Progra~1\Java\jdk11
mvn -v
mvn -B -DskipTests clean package
artifacts:
- path: xpman-fx-dist\target\*.exe
- path: xpman-fx-dist\target\*.msi