tools-aux ci runner: also cross-test doctests
This commit is contained in:
parent
ac17c3486c
commit
6eb1afa468
1 changed files with 9 additions and 11 deletions
|
|
@ -60,7 +60,8 @@ check-aux:
|
|||
library/alloc \
|
||||
$(BOOTSTRAP_ARGS) \
|
||||
--no-doc
|
||||
# Some doctests use file system operations to demonstrate dealing with `Result`.
|
||||
# Some doctests use file system operations to demonstrate dealing with `Result`,
|
||||
# so we have to run them with isolation disabled.
|
||||
$(Q)MIRIFLAGS="-Zmiri-disable-isolation" \
|
||||
$(BOOTSTRAP) miri --stage 2 \
|
||||
library/coretests \
|
||||
|
|
@ -70,22 +71,19 @@ check-aux:
|
|||
--doc
|
||||
# In `std` we cannot test everything, so we skip some modules.
|
||||
$(Q)MIRIFLAGS="-Zmiri-disable-isolation" \
|
||||
$(BOOTSTRAP) miri --stage 2 library/std \
|
||||
$(BOOTSTRAP) miri --stage 2 \
|
||||
library/std \
|
||||
$(BOOTSTRAP_ARGS) \
|
||||
--no-doc -- \
|
||||
--skip fs:: --skip net:: --skip process:: --skip sys::fd:: --skip sys::pal::
|
||||
$(Q)MIRIFLAGS="-Zmiri-disable-isolation" \
|
||||
$(BOOTSTRAP) miri --stage 2 library/std \
|
||||
$(BOOTSTRAP_ARGS) \
|
||||
--doc -- \
|
||||
-- \
|
||||
--skip fs:: --skip net:: --skip process:: --skip sys::fd:: --skip sys::pal::
|
||||
# Also test some very target-specific modules on other targets
|
||||
# (making sure to cover an i686 target as well).
|
||||
$(Q)MIRIFLAGS="-Zmiri-disable-isolation" BOOTSTRAP_SKIP_TARGET_SANITY=1 \
|
||||
$(BOOTSTRAP) miri --stage 2 library/std \
|
||||
$(BOOTSTRAP_ARGS) \
|
||||
$(BOOTSTRAP) miri --stage 2 \
|
||||
library/std \
|
||||
--target aarch64-apple-darwin,i686-pc-windows-msvc \
|
||||
--no-doc -- \
|
||||
$(BOOTSTRAP_ARGS) \
|
||||
-- \
|
||||
time:: sync:: thread:: env::
|
||||
dist:
|
||||
$(Q)$(BOOTSTRAP) dist $(BOOTSTRAP_ARGS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue