Skip to content

Commit 043ff94

Browse files
2 parents 6235ccc + bbf0118 commit 043ff94

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

ci/run_linux_and_mac.sh

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
case $(uname | tr '[:upper:]' '[:lower:]') in
2-
linux*)
3-
export APPVEYOR_OS_NAME=linux
4-
;;
5-
darwin*)
6-
export APPVEYOR_OS_NAME=osx
7-
;;
8-
esac
9-
if [ "$APPVEYOR_OS_NAME" = "linux" ]; then export PATH="/home/appveyor/.cargo/bin:$PATH"; fi
10-
if [ "$APPVEYOR_OS_NAME" = "osx" ]; then export PATH="$HOME/.cargo/bin:$PATH"; fi
11-
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
12-
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
13-
echo "Installing latest nightly with Miri: $MIRI_NIGHTLY"
14-
rustup set profile minimal
15-
rustup default "$MIRI_NIGHTLY"
16-
rustup component add miri
1+
#case $(uname | tr '[:upper:]' '[:lower:]') in
2+
# linux*)
3+
# export APPVEYOR_OS_NAME=linux
4+
# ;;
5+
# darwin*)
6+
# export APPVEYOR_OS_NAME=osx
7+
# ;;
8+
#esac
9+
#if [ "$APPVEYOR_OS_NAME" = "linux" ]; then export PATH="/home/appveyor/.cargo/bin:$PATH"; fi
10+
#if [ "$APPVEYOR_OS_NAME" = "osx" ]; then export PATH="$HOME/.cargo/bin:$PATH"; fi
11+
#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
12+
#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
13+
#echo "Installing latest nightly with Miri: $MIRI_NIGHTLY"
14+
#rustup set profile minimal
15+
#rustup default "$MIRI_NIGHTLY"
16+
#rustup component add miri
1717
# The `-Zmiri-disable-isolation` is so Miri can access the system clock
1818
# while calling `SystemTime::now()` in one of the tests.
1919
# The `-Zmiri-permissive-provenance` is because this crate has a few
2020
# integer-to-pointer casts that are needed to avoid UB with ZST-related
2121
# stuff.
22-
export MIRIFLAGS="-Zmiri-disable-isolation -Zmiri-permissive-provenance"
22+
#export MIRIFLAGS="-Zmiri-disable-isolation -Zmiri-permissive-provenance"
2323
# We run the suite once under Miri with all functionality enabled, and then once
2424
# normally without the default features just to make sure `no_std` support has
2525
# not been broken.
26-
cargo clean
27-
cargo miri test --features="std" || exit 1
28-
cargo clean
29-
cargo test --no-default-features || exit 1
26+
#cargo clean
27+
#cargo miri test --features="std" || exit 1
28+
#cargo clean
29+
#cargo test --no-default-features || exit 1
3030
# Uncommenting the last two lines also runs the libfuzzer fuzz target, but it's more suited for running
3131
# locally than on CI currently due to the amount of time it takes to be effective
3232
# cargo clean

0 commit comments

Comments
 (0)