Skip to content

Commit

Permalink
Change minimum-supported Rust version to 1.43
Browse files Browse the repository at this point in the history
  • Loading branch information
akubera committed May 10, 2023
2 parents 31f5c11 + 95461da commit 4112e15
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 28 deletions.
8 changes: 2 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,11 @@ workflows:
version: 2
build-and-test:
jobs:
- build-and-test:
name: build-and-test-1.34.0
rust-version: "1.34.0"
debian-version: "stretch"
- build-and-test:
matrix:
parameters:
rust-version:
- "1.40.0"
- "1.43.0"
- "1.50.0"
- "1.54.0"
- build-and-test:
Expand All @@ -107,4 +103,4 @@ workflows:
rust-version: "1.54.0"
requires:
- build-and-test-1.54.0
- lint-check
# - lint-check
27 changes: 6 additions & 21 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ cache:
# should we only share cache between jobs on one tag?
# key: ${CI_COMMIT_REF_SLUG}
paths:
- .cargo/bin
- .cargo/registry/index
- .cargo/registry/cache
- target/debug/deps
Expand Down Expand Up @@ -60,30 +59,16 @@ cargo:test-nightly:
<<: *cargo-test-script


cargo:build-1.34:
cargo:build-1.43:
stage: build
image: "akubera/rust-kcov:1.34.2-stretch"
image: "akubera/rust-kcov:1.43.1-buster"
<<: *cargo-build-script

cargo:test-1.34:
cargo:test-1.43:
stage: test
needs:
- cargo:build-1.34
image: "akubera/rust-kcov:1.34.2-stretch"
allow_failure: true
<<: *cargo-test-script


cargo:build-1.42:
stage: build
image: "akubera/rust-kcov:1.42.0-buster"
<<: *cargo-build-script

cargo:test·1.42:
stage: test
needs:
- "cargo:build-1.42"
image: "akubera/rust-kcov:1.42.0-buster"
- "cargo:build-1.43"
image: "akubera/rust-kcov:1.43.1-buster"
<<: *cargo-test-script


Expand All @@ -92,7 +77,7 @@ cargo:build-1.54:
image: "akubera/rust-kcov:1.54.0-bullseye"
<<: *cargo-build-script

cargo:test·1.54:
cargo:test-1.54:
stage: test
needs:
- "cargo:build-1.54"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![crate](https://img.shields.io/crates/v/bigdecimal.svg)](https://crates.io/crates/bigdecimal)
[![Documentation](https://docs.rs/bigdecimal/badge.svg)](https://docs.rs/bigdecimal)

[![minimum rustc 1.34](https://img.shields.io/badge/rustc-1.34+-red.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
[![minimum rustc 1.43](https://img.shields.io/badge/rustc-1.43+-red.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)

[![coverage](https://gitlab.com/akubera/bigdecimal-rs/badges/master/coverage.svg)](https://gitlab.com/akubera/bigdecimal-rs/-/pipelines)
[![build status - master](https://gitlab.com/akubera/bigdecimal-rs/badges/master/pipeline.svg?ignore_skipped=true)](https://gitlab.com/akubera/bigdecimal-rs/-/pipelines)
Expand Down

0 comments on commit 4112e15

Please sign in to comment.