forked from Quail004/bitcoin-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
56 lines (50 loc) · 1.58 KB
/
.gitlab-ci.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
variables:
ANDROID_HOME: $PWD/android-sdk
before_script:
- apt-get update
after_script:
- gradle --version
bullseye-jdk11:
image: debian:bullseye-backports
script:
- apt-get -y install openjdk-11-jdk-headless
- apt-get -y install sdkmanager gradle
- yes | sdkmanager --licenses >/dev/null || true
- gradle build --stacktrace
artifacts:
name: bitcoin-wallet-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
paths:
- wallet/build/outputs/apk/**/*.apk
bookworm-jdk17:
image: debian:bookworm-slim
script:
- apt-get -y install openjdk-17-jdk-headless
- apt-get -y install sdkmanager gradle
- yes | sdkmanager --licenses >/dev/null || true
- gradle build --stacktrace
artifacts:
name: bitcoin-wallet-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
paths:
- wallet/build/outputs/apk/**/*.apk
jammy-jdk11:
image: ubuntu:jammy
script:
- apt-get -y install openjdk-11-jdk-headless
- apt-get -y install sdkmanager gradle
- yes | sdkmanager --licenses >/dev/null || true
- gradle build --stacktrace
artifacts:
name: bitcoin-wallet-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
paths:
- wallet/build/outputs/apk/**/*.apk
lunar-jdk17:
image: ubuntu:lunar
script:
- apt-get -y install openjdk-17-jdk-headless
- apt-get -y install sdkmanager gradle
- yes | sdkmanager --licenses >/dev/null || true
- gradle build --stacktrace
artifacts:
name: bitcoin-wallet-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
paths:
- wallet/build/outputs/apk/**/*.apk