Commit 7c03955f authored by Yi Lin's avatar Yi Lin

Merge branch 'shell-ci-2' into 'develop'

use shell executor for CI

See merge request !22
parents 0239714a 4c654555
image: "qinsoon/ubuntu-zebu-test:latest"
stages: stages:
- build - build
- test - test
- rustfmt - rustfmt
before_script: before_script:
- export PATH=$PATH:/root/.cargo/bin
- export MU_ZEBU=$CI_PROJECT_DIR - export MU_ZEBU=$CI_PROJECT_DIR
- export ZEBU_BUILD=release - export ZEBU_BUILD=release
- export CARGO_HOME=.cargo - export CARGO_HOME=.cargo
- export CC=clang - export CC=clang
- source /home/gitlab-runner/ci/bin/activate
build: build:
stage: build stage: build
...@@ -117,4 +115,4 @@ testjit:som: ...@@ -117,4 +115,4 @@ testjit:som:
rustfmt: rustfmt:
stage: rustfmt stage: rustfmt
script: script:
- rustup run nightly cargo fmt -- --write-mode=diff src/ast/src/lib.rs src/gc/src/lib.rs src/utils/src/lib.rs --verbose - CARGO_HOME=/home/gitlab-runner/.cargo rustup run nightly-2017-07-19 cargo fmt -- --write-mode=diff src/ast/src/lib.rs src/gc/src/lib.rs src/utils/src/lib.rs --verbose
...@@ -138,9 +138,13 @@ impl HeapDump { ...@@ -138,9 +138,13 @@ impl HeapDump {
let field_addr = base + *offset; let field_addr = base + *offset;
let edge = unsafe { field_addr.load::<Address>() }; let edge = unsafe { field_addr.load::<Address>() };
trace!("object reference from {} -> {} at +[{}]", base, trace!(
edge, offset); "object reference from {} -> {} at +[{}]",
base,
edge,
offset
);
if !edge.is_zero() && !self.objects.contains_key(&edge) { if !edge.is_zero() && !self.objects.contains_key(&edge) {
work_queue.push(edge); work_queue.push(edge);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment