forked from veracruz-project/veracruz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
40 lines (35 loc) · 847 Bytes
/
.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
# Authors: The Veracruz Development Team
# CI for Veracruz project.
#
image: "$DOCKER_IMAGE_PATH"
variables:
CARGO_HOME: $VERACRUZ_PATH/.cargo
GIT_STRATEGY: clone
GIT_SUBMODULE_STRATEGY: recursive
GIT_DEPTH: 1
before_script:
#################################################
## project specific setting
#################################################
# return the veracruz dir
- cd $VERACRUZ_PATH
stages:
- sdk-build
- enclave-build
- test
cache: &global_cache
key: GLOBAL_CACHE
paths:
- "$VERACRUZ_PATH/**/target/**"
- "$VERACRUZ_PATH/.cargo/**"
- "$VERACRUZ_PATH/test-collateral/**"
policy: pull-push
build:sdk:
stage: sdk-build
script:
- make clean
- make sdk
cache:
<<: *global_cache
key: SDK
policy: push