From bbf01187959353ab9635e153c134ade9168a0335 Mon Sep 17 00:00:00 2001 From: SlightlyOutOfPhase Date: Sun, 4 Sep 2022 14:56:41 -0400 Subject: [PATCH] Turn off Unix CI until its binaries are up to date --- ci/run_linux_and_mac.sh | 42 ++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/ci/run_linux_and_mac.sh b/ci/run_linux_and_mac.sh index 599d881..f29cdeb 100644 --- a/ci/run_linux_and_mac.sh +++ b/ci/run_linux_and_mac.sh @@ -1,32 +1,32 @@ -case $(uname | tr '[:upper:]' '[:lower:]') in - linux*) - export APPVEYOR_OS_NAME=linux - ;; - darwin*) - export APPVEYOR_OS_NAME=osx - ;; -esac -if [ "$APPVEYOR_OS_NAME" = "linux" ]; then export PATH="/home/appveyor/.cargo/bin:$PATH"; fi -if [ "$APPVEYOR_OS_NAME" = "osx" ]; then export PATH="$HOME/.cargo/bin:$PATH"; fi -if [ "$APPVEYOR_OS_NAME" = "linux" ]; then MIRI_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/miri); fi -if [ "$APPVEYOR_OS_NAME" = "osx" ]; then MIRI_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-apple-darwin/miri); fi -echo "Installing latest nightly with Miri: $MIRI_NIGHTLY" -rustup set profile minimal -rustup default "$MIRI_NIGHTLY" -rustup component add miri +#case $(uname | tr '[:upper:]' '[:lower:]') in +# linux*) +# export APPVEYOR_OS_NAME=linux +# ;; +# darwin*) +# export APPVEYOR_OS_NAME=osx +# ;; +#esac +#if [ "$APPVEYOR_OS_NAME" = "linux" ]; then export PATH="/home/appveyor/.cargo/bin:$PATH"; fi +#if [ "$APPVEYOR_OS_NAME" = "osx" ]; then export PATH="$HOME/.cargo/bin:$PATH"; fi +#if [ "$APPVEYOR_OS_NAME" = "linux" ]; then MIRI_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/miri); fi +#if [ "$APPVEYOR_OS_NAME" = "osx" ]; then MIRI_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-apple-darwin/miri); fi +#echo "Installing latest nightly with Miri: $MIRI_NIGHTLY" +#rustup set profile minimal +#rustup default "$MIRI_NIGHTLY" +#rustup component add miri # The `-Zmiri-disable-isolation` is so Miri can access the system clock # while calling `SystemTime::now()` in one of the tests. # The `-Zmiri-permissive-provenance` is because this crate has a few # integer-to-pointer casts that are needed to avoid UB with ZST-related # stuff. -export MIRIFLAGS="-Zmiri-disable-isolation -Zmiri-permissive-provenance" +#export MIRIFLAGS="-Zmiri-disable-isolation -Zmiri-permissive-provenance" # We run the suite once under Miri with all functionality enabled, and then once # normally without the default features just to make sure `no_std` support has # not been broken. -cargo clean -cargo miri test --features="std" || exit 1 -cargo clean -cargo test --no-default-features || exit 1 +#cargo clean +#cargo miri test --features="std" || exit 1 +#cargo clean +#cargo test --no-default-features || exit 1 # Uncommenting the last two lines also runs the libfuzzer fuzz target, but it's more suited for running # locally than on CI currently due to the amount of time it takes to be effective # cargo clean