File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -75,9 +75,10 @@ stages:
75
75
76
76
- *deploy_package
77
77
78
- # set caching location
78
+ # place cache in proper location; avoid project dir to avoid slowdown of source packaging
79
79
- mkdir -p $CI_PROJECT_DIR/gnatprove_cache
80
- - export GNATPROVE_CACHE="file:$CI_PROJECT_DIR/gnatprove_cache"
80
+ - mv $CI_PROJECT_DIR/gnatprove_cache /tmp
81
+ - export GNATPROVE_CACHE="file:/tmp/gnatprove_cache"
81
82
# set location of sources for coverage
82
83
- ANOD_BUILDSPACE_SOURCES=`anod eval spark2014-core build_space_name --primitive build --qualifier=coverage,assertions`
83
84
- export COVERAGE_ROOT_DIR=$ANOD_DEFAULT_SANDBOX_DIR/x86_64-linux/$ANOD_BUILDSPACE_SOURCES/src
@@ -92,6 +93,9 @@ stages:
92
93
93
94
- testsuite_reports || exit_code=$?
94
95
96
+ # Reestablish cache
97
+ - mv /tmp/gnatprove_cache $CI_PROJECT_DIR/gnatprove_cache
98
+
95
99
# Coverage HTML report
96
100
- export HTMLTARGETDIR=$CI_COMMIT_BRANCH
97
101
- if [[ $CI_PIPELINE_SOURCE == "merge_request_event" ]]; then export HTMLTARGETDIR=MRs/$CI_MERGE_REQUEST_IID ; fi
You can’t perform that action at this time.
0 commit comments