forked from riscv-collab/v8
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
50 lines (41 loc) · 1.24 KB
/
.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
variables:
# Because of the requirements of gn, we have to manually checkout our commit
GIT_STRATEGY: none
before_script:
- export PATH=$PATH:$HOME/depot_tools
- git remote set-url gitlab http://gitlab-ci-token:$CI_BUILD_TOKEN@gitlab.futurewei.com/swlab/swe/v8.git
- git fetch gitlab
- git checkout $CI_COMMIT_SHA
- gclient sync --with_branch_heads --with_tags
stages:
- build
- test
build:
stage: build
script:
- gn gen out.gn/riscv64_debug --args='is_debug=true target_cpu="x64" v8_target_cpu="riscv64" is_component_build=false'
- ninja -C out.gn/riscv64_debug -j8
cctests:
stage: test
script:
- tools/run-tests.py --outdir=out.gn/riscv64_debug cctest
unittests:
stage: test
script:
- tools/run-tests.py --outdir=out.gn/riscv64_debug unittests
wasm_tests:
stage: test
script:
- tools/run-tests.py --outdir=out.gn/riscv64_debug wasm-api-tests wasm-js wasm-spec-tests
mjsunit_tests:
stage: test
script:
- tools/run-tests.py --outdir=out.gn/riscv64_debug mjsunit
misc_tests:
stage: test
script:
- tools/run-tests.py --outdir=out.gn/riscv64_debug intl message debugger inspector mkgrokdump
fuzzer_tests:
stage: test
script:
- tools/run-tests.py --outdir=out.gn/riscv64_debug fuzzer