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

DO NOT MERGE: Add prost support #49

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ workflows:
jobs:
build_and_test:
docker:
- image: rust:1.64.0
- image: rust:1.70.0
working_directory: ~/project/
steps:
- checkout
Expand All @@ -51,7 +51,7 @@ jobs:
command: rustup target add wasm32-unknown-unknown && rustup target list --installed
- restore_cache:
keys:
- cargocache-v2-storage-plus:1.64.0-{{ checksum "Cargo.lock" }}
- cargocache-v2-storage-plus:1.70.0-{{ checksum "Cargo.lock" }}
- run:
name: Build library for native target (no iterator)
command: cargo build --locked --no-default-features
Expand All @@ -74,7 +74,7 @@ jobs:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-v2-storage-plus:1.64.0-{{ checksum "Cargo.lock" }}
key: cargocache-v2-storage-plus:1.70.0-{{ checksum "Cargo.lock" }}

build_minimal:
docker:
Expand All @@ -90,7 +90,7 @@ jobs:
command: rm Cargo.lock
- restore_cache:
keys:
- cargocache-v2-storage-plus:1.64.0-minimal-{{ checksum "~/project/Cargo.toml" }}
- cargocache-v2-storage-plus:1.70.0-minimal-{{ checksum "~/project/Cargo.toml" }}
- run:
name: Build library for native target (with iterator and macro)
command: cargo build -Zminimal-versions --all-features
Expand All @@ -101,11 +101,11 @@ jobs:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-v2-storage-plus:1.64.0-minimal-{{ checksum "~/project/Cargo.toml" }}
key: cargocache-v2-storage-plus:1.70.0-minimal-{{ checksum "~/project/Cargo.toml" }}

build_maximal:
docker:
- image: rust:1.64.0
- image: rust:1.70.0
working_directory: ~/project/
steps:
- checkout
Expand All @@ -117,7 +117,7 @@ jobs:
command: cargo update
- restore_cache:
keys:
- cargocache-v2-storage-plus:1.64.0-{{ checksum "Cargo.lock" }}
- cargocache-v2-storage-plus:1.70.0-{{ checksum "Cargo.lock" }}
- run:
name: Build library for native target (with iterator and macro)
command: cargo build --locked --all-features
Expand All @@ -128,19 +128,19 @@ jobs:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-v2-storage-plus:1.64.0-{{ checksum "Cargo.lock" }}
key: cargocache-v2-storage-plus:1.70.0-{{ checksum "Cargo.lock" }}

lint:
docker:
- image: rust:1.64.0
- image: rust:1.70.0
steps:
- checkout
- run:
name: Version information
command: rustc --version; cargo --version; rustup --version; rustup target list --installed
- restore_cache:
keys:
- cargocache-v2-lint-rust:1.64.0-{{ checksum "Cargo.lock" }}
- cargocache-v2-lint-rust:1.70.0-{{ checksum "Cargo.lock" }}
- run:
name: Add rustfmt component
command: rustup component add rustfmt
Expand All @@ -159,11 +159,11 @@ jobs:
- target/debug/.fingerprint
- target/debug/build
- target/debug/deps
key: cargocache-v2-lint-rust:1.64.0-{{ checksum "Cargo.lock" }}
key: cargocache-v2-lint-rust:1.70.0-{{ checksum "Cargo.lock" }}

benchmarking:
docker:
- image: rust:1.64.0
- image: rust:1.70.0
environment:
RUST_BACKTRACE: 1
steps:
Expand All @@ -173,7 +173,7 @@ jobs:
command: rustc --version && cargo --version
- restore_cache:
keys:
- cargocache-v2-benchmarking-rust:1.64.0-{{ checksum "Cargo.lock" }}
- cargocache-v2-benchmarking-rust:1.70.0-{{ checksum "Cargo.lock" }}
- run:
name: Run storage-plus benchmarks
working_directory: ~/project
Expand All @@ -182,7 +182,7 @@ jobs:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-v2-benchmarking-rust:1.64.0-{{ checksum "Cargo.lock" }}
key: cargocache-v2-benchmarking-rust:1.70.0-{{ checksum "Cargo.lock" }}

coverage:
# https://circleci.com/developer/images?imageType=machine
Expand Down
Loading