padlock-solver/.gitlab-ci.yml
Rui Hu 562742206a Upload performance test result to artifact, cat the result to console
As I didn't find a solution to display the txt in pipeline ui.
2024-03-14 16:33:20 +08:00

31 lines
538 B
YAML

image: azul/zulu-openjdk:8-latest
stages:
- test
- analyze
# verify the padlock impl independently
unit-test-padlock-impl:
stage: test
script:
- ./gradlew :padlock-impl:test
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
- cat performance.txt
artifacts:
paths: ['performance.txt']