-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create
check-default-config-profiles.sh
for mingw-check
Signed-off-by: onur-ozkan <work@onurozkan.dev>
- Loading branch information
1 parent
6310da9
commit 5901c8c
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/ci/docker/host-x86_64/mingw-check/check-default-config-profiles.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
# Runs bootstrap (in dry-run mode) with each default config profile to ensure they are not broken. | ||
|
||
set -euo pipefail | ||
|
||
config_dir="../src/bootstrap/defaults" | ||
|
||
# Loop through each configuration file in the directory | ||
for config_file in "$config_dir"/*.toml; | ||
do | ||
python3 ../x.py check --config $config_file --dry-run | ||
done |