mirrored from https://www.bouncycastle.org/repositories/bc-java
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
.gitlab-ci.yml
67 lines (60 loc) · 1.61 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
57
58
59
60
61
62
63
64
65
66
67
stages:
- check
- build
- test
- publish
- sync
check-code:
stage: check
script:
- "ecr_login"
- "ecr_pull vm_base_intel latest"
- "ci_docker_run \"vm_base_intel:latest\" \"bc-java\" \"/workspace/bc-java/ci/check_java.sh\""
artifacts:
when: always
paths:
- "core/build/reports"
- "prov/build/reports"
- "pg/build/reports"
- "pkix/build/reports"
- "mail/build/reports"
- "util/build/reports"
- "tls/build/reports"
- "mls/build/reports"
ant-build:
stage: build
needs: [ "check-code" ]
script:
- "ecr_login"
- "ecr_pull vm_base_intel latest"
- "ci_docker_run \"vm_base_intel:latest\" \"bc-java\" \"/workspace/bc-java/ci/build_1_8.sh\""
test-code:
stage: test
needs: [ "check-code" ]
script:
- "ecr_login"
- "ecr_pull vm_base_intel latest"
- "ci_docker_run \"vm_base_intel:latest\" \"bc-java\" \"/workspace/bc-java/ci/test.sh\""
artifacts:
when: always
reports:
junit:
- "core/build/test-results/**/*.xml"
- "prov/build/test-results/**/*.xml"
- "pg/build/test-results/**/*.xml"
- "pkix/build/test-results/**/*.xml"
- "mail/build/test-results/**/*.xml"
- "util/build/test-results/**/*.xml"
- "tls/build/test-results/**/*.xml"
- "mls/build/test-results/**/*.xml"
publish:
stage: publish
script:
- "apply_overlay bc-java-pub ./"
- "ecr_login"
- "ecr_pull vm_base_intel latest"
- "ci_docker_run \"vm_base_intel:latest\" \"bc-java\" \"/workspace/bc-java/ci/pub.sh\""
spongycastle:
stage: "sync"
script:
- "syncpongy.sh"