Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
@bkchr requested changes. moved full_crypto CI test to build stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Alain Brenzikofer committed Oct 30, 2019
1 parent c6ee791 commit 536d6c3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 23 deletions.
40 changes: 19 additions & 21 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,27 +156,6 @@ test-srml-staking: &test-srml-staking
- time cargo test --release --verbose --no-default-features --features std
- sccache -s

test-full-crypto-feature: &test-full-crypto-feature
stage: test
<<: *docker-env
variables:
# Enable debug assertions since we are running optimized builds for testing
# but still want to have debug assertions.
RUSTFLAGS: -Cdebug-assertions=y
RUST_BACKTRACE: 1
except:
variables:
- $DEPLOY_TAG
script:
- cd core/primitives/
- time cargo build --verbose --no-default-features --features full_crypto
- cd ../application-crypto
- time cargo build --verbose --no-default-features --features full_crypto
- sccache -s





test-linux-stable-int:
<<: *test-linux
Expand Down Expand Up @@ -292,6 +271,25 @@ build-linux-subkey:
- cp -r scripts/docker/subkey.Dockerfile ./artifacts/subkey/
- sccache -s

build-full-crypto-feature:
stage: build
<<: *collect-artifacts
<<: *docker-env
<<: *build-only
variables:
# Enable debug assertions since we are running optimized builds for testing
# but still want to have debug assertions.
RUST_BACKTRACE: 1
except:
variables:
- $DEPLOY_TAG
script:
- cd core/primitives/
- time cargo build --verbose --no-default-features --features full_crypto
- cd ../application-crypto
- time cargo build --verbose --no-default-features --features full_crypto
- sccache -s

build-rust-doc-release:
stage: build
<<: *docker-env
Expand Down
2 changes: 1 addition & 1 deletion core/application-crypto/src/ed25519.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use crate::{RuntimePublic, KeyTypeId};
pub use primitives::ed25519::*;

mod app {
use crate::Vec;
use rstd::vec::Vec;
use primitives::testing::ED25519;
crate::app_crypto!(super, ED25519);

Expand Down
2 changes: 1 addition & 1 deletion core/application-crypto/src/sr25519.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use crate::{RuntimePublic, KeyTypeId};
pub use primitives::sr25519::*;

mod app {
use crate::Vec;
use rstd::vec::Vec;
use primitives::testing::SR25519;
crate::app_crypto!(super, SR25519);

Expand Down

0 comments on commit 536d6c3

Please sign in to comment.