remove leftover helper files
parent
b0668598a1
commit
aeefaac97e
@ -1,27 +0,0 @@
|
|||||||
stages:
|
|
||||||
- audit
|
|
||||||
- build
|
|
||||||
image: ${REGISTRY}/parity-ci-linux:latest
|
|
||||||
|
|
||||||
variables:
|
|
||||||
GIT_STRATEGY: fetch
|
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
|
||||||
CI_SERVER_NAME: "GitLab CI"
|
|
||||||
CARGO_HOME: "/ci-cache/${CI_PROJECT_NAME}/cargo/${CI_JOB_NAME}"
|
|
||||||
CARGO_TARGET: x86_64-unknown-linux-gnu
|
|
||||||
REGISTRY: registry.parity.io/parity/infrastructure/scripts
|
|
||||||
|
|
||||||
cargo_audit:
|
|
||||||
stage: audit
|
|
||||||
script:
|
|
||||||
- cargo audit
|
|
||||||
tags:
|
|
||||||
- linux-docker
|
|
||||||
allow_failure: true
|
|
||||||
|
|
||||||
cargo_remote_build:
|
|
||||||
stage: build
|
|
||||||
script:
|
|
||||||
- cargo build --release
|
|
||||||
tags:
|
|
||||||
- linux-docker
|
|
@ -1,37 +0,0 @@
|
|||||||
1 step
|
|
||||||
nano /etc/profile
|
|
||||||
export PATH=/usr/local/cargo/bin:$PATH
|
|
||||||
export RUSTUP_HOME=/usr/local/rustup
|
|
||||||
export CARGO_HOME=/usr/local/cargo
|
|
||||||
2 install rust
|
|
||||||
wget https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init
|
|
||||||
chmod +x rustup-init; \
|
|
||||||
./rustup-init -y --no-modify-path --default-toolchain stable; \
|
|
||||||
rm rustup-init; \
|
|
||||||
chmod -R a+w+r /usr/local/cargo/; \
|
|
||||||
chmod -R a+w+r /usr/local/cargo/; \
|
|
||||||
rustup install nightly beta; \
|
|
||||||
rustup target add wasm32-unknown-unknown --toolchain nightly; \
|
|
||||||
cargo install cargo-audit --force; \
|
|
||||||
cargo install sccache --features redis --force; \
|
|
||||||
cargo install --git https://github.com/alexcrichton/wasm-gc --force ;
|
|
||||||
3 redis
|
|
||||||
protected mode no
|
|
||||||
|
|
||||||
maxmemory 50gb
|
|
||||||
maxmemory-policy allkeys-lru
|
|
||||||
service redis restart
|
|
||||||
3 setup sccache+redis
|
|
||||||
nano /etc/profile
|
|
||||||
export PATH=/usr/local/cargo/bin:$PATH
|
|
||||||
export RUSTUP_HOME=/usr/local/rustup
|
|
||||||
export CARGO_HOME=/usr/local/cargo
|
|
||||||
export SCCACHE_IDLE_TIMEOUT=0
|
|
||||||
export SCCACHE_REDIS=redis://127.0.0.1/0
|
|
||||||
export RUSTC_WRAPPER=sccache
|
|
||||||
4 user
|
|
||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
|
||||||
export RUSTUP_HOME=$HOME/.rustup
|
|
||||||
export CARGO_HOME=$HOME/.cargo
|
|
||||||
|
|
||||||
rustup install stable
|
|
Loading…
Reference in New Issue