-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gitlab-ci.yml
65 lines (56 loc) · 1018 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
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
default:
image: registry.gitlab.com/b7-re/b7/ci:latest
stages:
- format
- build
- test
- deploy
variables:
CARGO_HOME: $CI_PROJECT_DIR/cargo
GIT_SUBMODULE_STRATEGY: normal
default-build:
stage: build
script:
RUST_BACKTRACE=1 cargo build
dynamorio-build:
stage: build
script:
RUST_BACKTRACE=1 cargo build --features "dynamorio"
format:
stage: format
script:
- cargo fmt --all -- --check
default-test:
tags:
- perf
stage: test
script:
- rustc --version
- cargo --version
- cargo test --verbose -- --test-threads=1
dynamorio-test:
tags:
- perf
stage: test
script:
- rustc --version
- cargo --version
- cargo test --features "dynamorio" dynamorio -- --test-threads=1
pages:
stage: deploy
only:
- master
script:
- cargo doc --all-features
- rm -rf public
- mv target/doc/ public
artifacts:
paths:
- public
cache:
paths:
- dynamorio/
- build_32/
- build_64/
- cargo/
- target/