about summary refs log tree commit diff
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2024-07-18 14:50:49 +0300
committeronur-ozkan <work@onurozkan.dev>2024-07-18 14:50:49 +0300
commit0c5864f9064b7280972628c64cd83647127ddfb9 (patch)
tree2b491188d1579eb1f55a0ffbee947466de9a1ef6
parentcb12b52f160c633551bd6e5be8d4c6e2e8660950 (diff)
downloadrust-0c5864f9064b7280972628c64cd83647127ddfb9.tar.gz
rust-0c5864f9064b7280972628c64cd83647127ddfb9.zip
check default config profiles on CI
Signed-off-by: onur-ozkan <work@onurozkan.dev>
-rw-r--r--src/ci/docker/host-x86_64/mingw-check/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ci/docker/host-x86_64/mingw-check/Dockerfile b/src/ci/docker/host-x86_64/mingw-check/Dockerfile
index 0d9c21c4487..c8d505406ff 100644
--- a/src/ci/docker/host-x86_64/mingw-check/Dockerfile
+++ b/src/ci/docker/host-x86_64/mingw-check/Dockerfile
@@ -46,6 +46,8 @@ ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1
 # We disable optimized compiler built-ins because that requires a C toolchain for the target.
 # We also skip the x86_64-unknown-linux-gnu target as it is well-tested by other jobs.
 ENV SCRIPT python3 ../x.py check --stage 0 --set build.optimized-compiler-builtins=false core alloc std --target=aarch64-unknown-linux-gnu,i686-pc-windows-msvc,i686-unknown-linux-gnu,x86_64-apple-darwin,x86_64-pc-windows-gnu,x86_64-pc-windows-msvc && \
+           # Ensure that default config profiles are not broken
+           for config_file in ../src/bootstrap/defaults/*.toml; do python3 ../x.py build --dry-run --config "$config_file"; done
            python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu && \
            python3 ../x.py clippy bootstrap -Dwarnings && \
            python3 ../x.py clippy compiler library -Aclippy::all -Dclippy::correctness && \