Browse Source

Merge #257

257: ci: downgrade libm for MSRV testing r=cuviper a=cuviper



Co-authored-by: Josh Stone <[email protected]>
bors[bot] 2 years ago
parent
commit
b5906eeeab
2 changed files with 8 additions and 0 deletions
  1. 3 0
      .github/workflows/ci.yaml
  2. 5 0
      ci/test_full.sh

+ 3 - 0
.github/workflows/ci.yaml

@@ -29,6 +29,9 @@ jobs:
         with:
           toolchain: ${{ matrix.rust }}
       - run: cargo build
+        env:
+          # https://github.com/rust-lang/cargo/issues/10303
+          CARGO_NET_GIT_FETCH_WITH_CLI: true
       - run: ./ci/test_full.sh
 
   # i586 presents floating point challenges for lack of SSE/SSE2

+ 5 - 0
ci/test_full.sh

@@ -30,6 +30,11 @@ fi
 FEATURES=(libm)
 echo "Testing supported features: ${FEATURES[*]}"
 
+cargo generate-lockfile
+
+# libm 0.2.6 started using {float}::EPSILON
+check_version 1.43 || cargo update -p libm --precise 0.2.5
+
 set -x
 
 # test the default