Fix duplicate entry in GitLab CI configuration, minor other improvements

This commit is contained in:
timvisee 2020-02-11 18:24:54 +01:00
parent e73f5d08b4
commit b780236fa2
No known key found for this signature in database
GPG key ID: B8DB720BC383E172
3 changed files with 5 additions and 7 deletions

View file

@ -14,8 +14,10 @@ stages:
- release
- package
# Variable defaults
variables:
RUST_VERSION: stable
RUST_TARGET: x86_64-unknown-linux-gnu
# Cache rust/cargo/build artifacts
cache:
@ -37,11 +39,6 @@ before_script:
rustc --version
cargo --version
# Variable defaults
variables:
RUST_VERSION: stable
RUST_TARGET: x86_64-unknown-linux-gnu
# Check on stable, beta and nightly
.check-base: &check-base
stage: check
@ -98,7 +95,7 @@ build-x86_64-linux-musl:
- rustup target add $RUST_TARGET
# Build OpenSSL statically
- apt install -y build-essential wget musl-tools
- apt-get install -y build-essential wget musl-tools
- wget https://www.openssl.org/source/openssl-1.0.2o.tar.gz
- tar xzvf openssl-1.0.2o.tar.gz
- cd openssl-1.0.2o