From ea918a8b52b019a0962b41857170cd61d869553d Mon Sep 17 00:00:00 2001 From: "Kevin K." Date: Thu, 30 Apr 2026 14:56:26 +0200 Subject: [PATCH] Add CI testing instructions for offload --- src/offload/installation.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/offload/installation.md b/src/offload/installation.md index 00233d9b0..4b67f31cd 100644 --- a/src/offload/installation.md +++ b/src/offload/installation.md @@ -39,7 +39,15 @@ This gives you a working LLVM build. ## Testing -run +Run this test script for offload-specific tests: ```console ./x test --stage 1 tests/codegen-llvm/gpu_offload ``` + +For testing the CI locally, you may use the commands outlined in [Testing with Docker](https://rustc-dev-guide.rust-lang.org/tests/docker.html): +```console +cargo run --manifest-path src/ci/citool/Cargo.toml run-local dist-x86_64-linux +``` +This stores all compiler artifacts in the `obj` directory, however should you modify rustc-specific code, you may need to delete this directory as the Docker image will cache its state otherwise. + +Submodules should also be checked out at this point.