Skip to content

Commit

Permalink
travis: explain what we are doing
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Dec 12, 2018
1 parent 5ff6736 commit ee2b5bb
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,21 @@ else
FOREIGN_TARGET=i686-unknown-linux-gnu
fi

# Build and install miri
echo "Build and install miri"
cargo build --release --all-features --all-targets &&
cargo install --all-features --force --path .
echo

# Get ourselves a MIR-full libstd for the host and a foreign architecture
echo "Get ourselves a MIR-full libstd for the host and a foreign architecture"
cargo miri setup &&
cargo miri setup --target "$FOREIGN_TARGET"
echo

# Test miri with full MIR, on the host and other architectures
echo "Test miri with full MIR, on the host and other architectures"
MIRI_SYSROOT=$MIRI_SYSROOT_BASE/HOST cargo test --release --all-features &&
MIRI_SYSROOT=$MIRI_SYSROOT_BASE MIRI_TARGET=$FOREIGN_TARGET cargo test --release --all-features
echo

# Test cargo integration
echo "Test cargo integration"
(cd test-cargo-miri && MIRI_SYSROOT=$MIRI_SYSROOT_BASE/HOST ./run-test.py)
echo

0 comments on commit ee2b5bb

Please sign in to comment.