Sign inSign up

paritytech/parity-scale-codec

By paritytech

•Updated about 3 years ago

parity-scale-codec utility Docker image.

Image
0

500K+

paritytech/parity-scale-codec repository overview

⁠parity-scale-codec CI for Linux Distributionsimage

Docker image based on our base CI image <base-ci-linux:latest>.

Used to build and test parity-scale-codec.

⁠Dependencies and Tools

  • parallel: for running commands in parallel, without overlapping output
  • codecov: to upload the test coverage results
  • binaryen: needed by cargo-contract for optimizing Wasm files
  • gnupg

Inherited from <base-ci-linux:latest>

  • libssl-dev
  • clang
  • lld
  • libclang-dev
  • make
  • cmake
  • git
  • pkg-config
  • curl
  • time
  • rhash
  • ca-certificates
  • jq

Rust versions:

We always use the latest possible⁠ nightly version that supports our required rustup components:

  • clippy: The Rust linter.
  • rust-src: The Rust sources of the standard library.
  • miri: The Rust MIR interpreter that interprets the test suite with additional checks.
  • rustfmt: The Rust code formatter.

Rust tools & toolchains:

  • grcov: Required for general Rust code coverage reports.
  • rust-covfix: Required to polish the coverage reports by grcov.
  • cargo-contract: Required to build ink! Wasm smart contracts.
  • xargo: Required so that miri runs properly.
  • cargo-spellcheck: Required for the CI to do automated spell-checking.
  • wasm32-unknown-unknown: The toolchain to compile Rust codebases for Wasm.
  • llvm-tools-preview: or MIR source-based Rust coverage instrumentation.

Click here⁠ for the registry.

⁠Usage

test-ink:
    stage: test
        image: paritytech/parity-scale-codec:production
        script:
            - cargo build ...

Tag summary

Content type

Image

Digest

sha256:27f8391fd…

Size

984.5 MB

Last updated

about 3 years ago

docker pull paritytech/parity-scale-codec:staging