2024-03-13 03:26:37 +00:00
|
|
|
image: azul/zulu-openjdk:8-latest
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- test
|
2024-03-14 05:35:49 +00:00
|
|
|
- analyze
|
2024-03-13 03:26:37 +00:00
|
|
|
|
2024-03-14 05:35:49 +00:00
|
|
|
# verify the padlock impl independently
|
2024-03-13 03:26:37 +00:00
|
|
|
unit-test-padlock-impl:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- ./gradlew :padlock-impl:test
|
2024-03-14 05:35:49 +00:00
|
|
|
|
|
|
|
unit-test-all:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- ./gradlew test
|
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
reports:
|
|
|
|
junit: build/test-results/test/**/TEST-*.xml
|
|
|
|
|
|
|
|
run-performance-analyze:
|
|
|
|
stage: analyze
|
|
|
|
needs:
|
|
|
|
- job: unit-test-all
|
|
|
|
script:
|
|
|
|
- ./gradlew runPerformanceAnalyze
|
2024-03-14 08:33:20 +00:00
|
|
|
- cat performance.txt
|
|
|
|
artifacts:
|
|
|
|
paths: ['performance.txt']
|