mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
more debug stuff in ci
This commit is contained in:
parent
eb7b55d3ad
commit
5d2199bd33
@ -11,6 +11,7 @@ stages:
|
|||||||
- post
|
- post
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
- date
|
||||||
- source $HOME/.cargo/env
|
- source $HOME/.cargo/env
|
||||||
- df -h
|
- df -h
|
||||||
- free -h
|
- free -h
|
||||||
@ -18,6 +19,11 @@ before_script:
|
|||||||
- cargo --version
|
- cargo --version
|
||||||
- export DISABLE_GIT_LFS_CHECK=true
|
- export DISABLE_GIT_LFS_CHECK=true
|
||||||
- find assets | md5sum
|
- find assets | md5sum
|
||||||
|
- ls -la target/debug
|
||||||
|
- ls -la target/release
|
||||||
|
- ls -la target
|
||||||
|
- find target/debug/deps -type f | wc -l
|
||||||
|
- date
|
||||||
|
|
||||||
# -- optional build
|
# -- optional build
|
||||||
|
|
||||||
@ -130,7 +136,9 @@ check:
|
|||||||
tags:
|
tags:
|
||||||
- veloren-docker
|
- veloren-docker
|
||||||
script:
|
script:
|
||||||
|
- date
|
||||||
- RUSTFLAGS="-D warnings" cargo check --verbose
|
- RUSTFLAGS="-D warnings" cargo check --verbose
|
||||||
|
- date
|
||||||
|
|
||||||
code-quality:
|
code-quality:
|
||||||
stage: check-compile
|
stage: check-compile
|
||||||
@ -141,8 +149,11 @@ code-quality:
|
|||||||
tags:
|
tags:
|
||||||
- veloren-docker
|
- veloren-docker
|
||||||
script:
|
script:
|
||||||
|
- date
|
||||||
- cargo clippy -- --warn clippy::all
|
- cargo clippy -- --warn clippy::all
|
||||||
|
- date
|
||||||
- cargo fmt --all -- --check
|
- cargo fmt --all -- --check
|
||||||
|
- date
|
||||||
|
|
||||||
security:
|
security:
|
||||||
stage: check-compile
|
stage: check-compile
|
||||||
@ -150,8 +161,11 @@ security:
|
|||||||
tags:
|
tags:
|
||||||
- veloren-docker
|
- veloren-docker
|
||||||
script:
|
script:
|
||||||
|
- date
|
||||||
- cargo install cargo-audit
|
- cargo install cargo-audit
|
||||||
|
- date
|
||||||
- cargo audit
|
- cargo audit
|
||||||
|
- date
|
||||||
|
|
||||||
# --
|
# --
|
||||||
|
|
||||||
@ -168,7 +182,9 @@ unittests:
|
|||||||
tags:
|
tags:
|
||||||
- veloren-docker
|
- veloren-docker
|
||||||
script:
|
script:
|
||||||
|
- date
|
||||||
- cargo test
|
- cargo test
|
||||||
|
- date
|
||||||
|
|
||||||
benchmarks:
|
benchmarks:
|
||||||
stage: post
|
stage: post
|
||||||
@ -181,7 +197,9 @@ benchmarks:
|
|||||||
tags:
|
tags:
|
||||||
- veloren-docker
|
- veloren-docker
|
||||||
script:
|
script:
|
||||||
|
- date
|
||||||
- cargo bench
|
- cargo bench
|
||||||
|
- date
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
@ -200,12 +218,19 @@ linux:
|
|||||||
tags:
|
tags:
|
||||||
- veloren-docker
|
- veloren-docker
|
||||||
script:
|
script:
|
||||||
|
- date
|
||||||
- cd voxygen && VELOREN_ASSETS=assets cargo build --release && cd ..
|
- cd voxygen && VELOREN_ASSETS=assets cargo build --release && cd ..
|
||||||
|
- date
|
||||||
- cd server-cli && VELOREN_ASSETS=assets cargo build --release && cd ..
|
- cd server-cli && VELOREN_ASSETS=assets cargo build --release && cd ..
|
||||||
|
- date
|
||||||
- cp -r target/release/veloren-server-cli $CI_PROJECT_DIR
|
- cp -r target/release/veloren-server-cli $CI_PROJECT_DIR
|
||||||
|
- date
|
||||||
- cp -r target/release/veloren-voxygen $CI_PROJECT_DIR
|
- cp -r target/release/veloren-voxygen $CI_PROJECT_DIR
|
||||||
|
- date
|
||||||
- strip --strip-all veloren-server-cli
|
- strip --strip-all veloren-server-cli
|
||||||
|
- date
|
||||||
- strip --strip-all veloren-voxygen
|
- strip --strip-all veloren-voxygen
|
||||||
|
- date
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- veloren-server-cli
|
- veloren-server-cli
|
||||||
|
Loading…
Reference in New Issue
Block a user