Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ clone:
EMAIL=ci git merge --no-edit FETCH_HEAD
fi
git rev-parse HEAD
image: "rust:latest"
image: "casperlabs/buildenv:latest"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this change?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cmake issues striked back 😬 We could probably live with official rust img although it'd require apt install cmake with correct version

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth getting @TomVasile's input for this?


# NOTE: Anchors are per document
# Anchor for default buildenv
__buildenv: &buildenv
image: "rust:latest"
image: "casperlabs/buildenv:latest"
environment:
CARGO_HOME: ".cargo"

Expand Down Expand Up @@ -55,7 +55,7 @@ steps:
RUSTFLAGS: '-D warnings'
commands:
- rustup component add clippy
- cargo clippy --all-targets
- cargo clippy --all-targets --workspace

- name: cargo-test
<<: *buildenv
Expand Down Expand Up @@ -86,7 +86,7 @@ trigger:
---
# Anchor for default buildenv
__buildenv: &buildenv
image: "rust:latest"
image: "casperlabs/buildenv:latest"
environment:
CARGO_HOME: ".cargo"

Expand Down
131 changes: 130 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,130 @@
target/
target_as

# Criterion puts results in wrong directories inside workspace: https://github.com/bheisler/criterion.rs/issues/192
target

# Created by https://www.toptal.com/developers/gitignore/api/rust,node
# Edit at https://www.toptal.com/developers/gitignore?templates=rust,node

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

### Rust ###
# Generated by Cargo
# will have compiled files and executables
# /target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
# Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

# End of https://www.toptal.com/developers/gitignore/api/rust,node
Loading