WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 184dec52 authored by Javad Ebrahimian Amiri's avatar Javad Ebrahimian Amiri
Browse files

Update .gitlab-ci.yml

parent 65f52016
......@@ -8,7 +8,6 @@ before_script:
- export MU_ZEBU=$CI_PROJECT_DIR
- export ZEBU_BUILD=release
- export ZEBU_CARGO_ARG="--release"
- export RUST_PREFIX="rustup run 1.35.0-x86_64-unknown-linux-gnu"
- export CARGO_HOME=.cargo
- export CC=clang
- export CXX=clang++
......@@ -20,9 +19,9 @@ before_script:
build:
stage: build
script:
- RUST_PREFIX rustc --version
- RUST_PREFIX cargo clean
- time RUST_PREFIX cargo test -j6 $ZEBU_CARGO_ARG --no-run --color=always
- rustup run 1.35.0-x86_64-unknown-linux-gnu rustc --version
- rustup run 1.35.0-x86_64-unknown-linux-gnu cargo clean
- time rustup run 1.35.0-x86_64-unknown-linux-gnu cargo test -j6 $ZEBU_CARGO_ARG --no-run --color=always
artifacts:
paths:
- target/debug/deps/libmu.so
......@@ -35,22 +34,22 @@ build:
test:cargo:api:
stage: test
script:
- RUST_PREFIX cargo test test_api $ZEBU_CARGO_ARG 2> /dev/null
- rustup run 1.35.0-x86_64-unknown-linux-gnu cargo test test_api $ZEBU_CARGO_ARG 2> /dev/null
test:cargo:ir:
stage: test
script:
- RUST_PREFIX cargo test test_ir $ZEBU_CARGO_ARG 2> /dev/null
- rustup run 1.35.0-x86_64-unknown-linux-gnu cargo test test_ir $ZEBU_CARGO_ARG 2> /dev/null
test:cargo:compiler:
stage: test
script:
- RUST_PREFIX cargo test test_compiler $ZEBU_CARGO_ARG 2> /dev/null
- rustup run 1.35.0-x86_64-unknown-linux-gnu cargo test test_compiler $ZEBU_CARGO_ARG 2> /dev/null
test:cargo:runtime:
stage: test
script:
- RUST_PREFIX cargo test test_runtime $ZEBU_CARGO_ARG 2> /dev/null
- rustup run 1.35.0-x86_64-unknown-linux-gnu cargo test test_runtime $ZEBU_CARGO_ARG 2> /dev/null
.build_muc: &build_muc |
if [ -d "tests/test_muc/mu-tool-compiler" ]; then rm -Rf tests/test_muc/mu-tool-compiler; fi
......@@ -185,5 +184,5 @@ mubench:
rustfmt:
stage: rustfmt
script:
- RUST_PREFIX cargo-fmt -- --check --verbose -- src/lib.rs src/ast/src/lib.rs src/gc/src/lib.rs src/utils/src/lib.rs
- rustup run 1.35.0-x86_64-unknown-linux-gnu cargo-fmt -- --check --verbose -- src/lib.rs src/ast/src/lib.rs src/gc/src/lib.rs src/utils/src/lib.rs
allow_failure: true
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