Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo check modules, runtimes, and node. #72

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
44 changes: 44 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,44 @@
version: 2
jobs:
check-modules:
docker:
- image: parity/rust:nightly
working_directory: ~/repo
steps:
- checkout
# Download and cache dependencies
# - restore_cache:
# keys:
# - v1-dependencies-{{ checksum "package.json" }}
# # fallback to using the latest cache if no exact match is found
# - v1-dependencies-
# - save_cache:
# paths:
# - node_modules
# key: v1-dependencies-{{ checksum "package.json" }}
- run:
name: Check Modules
command: |
cd kitchen/
cargo check --all
# - persist_to_workspace:
# # relative to working_directory
# root: "./"
# paths:
# - "./"

#TODO Port the build from travis CI to here
#build-book:



workflows:
version: 2
check-modules:
jobs:
- check-modules
# filters: *filter-non-gh-pages
# - deploy:
# filters: *filter-only-master
# requires:
# - test
10 changes: 5 additions & 5 deletions kitchen/Cargo.toml
Expand Up @@ -3,7 +3,7 @@ members = [
"modules/adding-machine",
"modules/basic-token",
"modules/check-membership",
# "modules/child-tree",
# "modules/child-trie",
"modules/currency-imbalances",
"modules/double-map",
# "modules/gen-random",
Expand All @@ -25,10 +25,10 @@ members = [
"modules/vec-set",
"modules/last-caller",
"modules/default-instance",
# "modules/weights",
"modules/weights",
"runtimes/super-runtime",
# "runtimes/super-genesis",
# "runtimes/weight-fee-runtime",
# "runtimes/weight-fee-genesis",
"runtimes/super-genesis",
"runtimes/weight-fee-runtime",
"runtimes/weight-fee-genesis",
# "node",
]
2 changes: 1 addition & 1 deletion kitchen/modules/social-network/src/lib.rs
Expand Up @@ -3,7 +3,7 @@
/// TODO:rewrite `=>` create a profile struct for managing friend information
/// use constant getters and softmax?
use support::{
decl_event, decl_module, decl_storage, dispatch::Result, ensure, EnumerableStorageMap,
decl_event, decl_module, decl_storage, dispatch::Result, ensure,
StorageMap, StorageValue,
};
use system::ensure_signed;
Expand Down