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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/master.yaml → .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: master
name: main
on:
push:
branches:
- master
- main
schedule:
- cron: '0 0 * * 0' # 00:00 Sunday

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![crate](https://img.shields.io/crates/v/num-complex.svg)](https://crates.io/crates/num-complex)
[![documentation](https://docs.rs/num-complex/badge.svg)](https://docs.rs/num-complex)
[![minimum rustc 1.60](https://img.shields.io/badge/rustc-1.60+-red.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
[![build status](https://github.com/rust-num/num-complex/workflows/master/badge.svg)](https://github.com/rust-num/num-complex/actions)
[![build status](https://github.com/rust-num/num-complex/actions/workflows/main.yaml/badge.svg)](https://github.com/rust-num/num-complex/actions/workflows/main.yaml)

`Complex` numbers for Rust.

Expand Down
11 changes: 9 additions & 2 deletions ci/test_full.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ check_version() {
]]
}

export CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback
generate_lockfile() {
cargo generate-lockfile
if ! check_version 1.85 ; then
cargo +stable update
fi
}

echo "Testing $CRATE on rustc $RUST_VERSION"
if ! check_version $MSRV ; then
echo "The minimum for $CRATE is rustc $MSRV"
Expand All @@ -30,8 +38,7 @@ fi
FEATURES=(bytecheck bytemuck libm rand rkyv/size_64 serde)
echo "Testing supported features: ${FEATURES[*]}"

cargo generate-lockfile
check_version 1.63.0 || cargo update -p libm --precise 0.2.9
generate_lockfile

set -x

Expand Down
Loading