[CI] Select mirror_hardwares presets via MIRROR_HW (H100/B200) (#5543)
Signed-off-by: wangyu <410167048@qq.com> Signed-off-by: lishunyang12 <lishunyang12@163.com> Signed-off-by: [Your Name] <your.email@example.com> Signed-off-by: wangyu <53896905+yenuo26@users.noreply.github.com> Signed-off-by: Bo Li <22713281+bobboli@users.noreply.github.com> Co-authored-by: lishunyang12 <lishunyang12@163.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Bo Li <22713281+bobboli@users.noreply.github.com>
This commit is contained in:
77 files changed
+3470
-1077
No files matched your search
@@ -62,7 +62,9 @@ run_shellcheck() {
|
||||
local f
|
||||
for f in "$@"; do
|
||||
if should_lint "$f"; then
|
||||
"$SHELLCHECK_BIN" -s bash "$f"
|
||||
# -x honors `# shellcheck source=` so sourced helpers are followed
|
||||
# (avoids SC1091 / false SC2034 on BUILDKITE_REL in entry scripts).
|
||||
"$SHELLCHECK_BIN" -s bash -x "$f"
|
||||
fi
|
||||
done
|
||||
}
|
||||
@@ -75,5 +77,5 @@ fi
|
||||
# Direct invocation with no args: lint every tracked *.sh.
|
||||
while IFS= read -r -d '' f || [ -n "$f" ]; do
|
||||
git check-ignore -q "$f" && continue
|
||||
"$SHELLCHECK_BIN" -s bash "$f"
|
||||
"$SHELLCHECK_BIN" -s bash -x "$f"
|
||||
done < <(find . -path ./.git -prune -o -name "*.sh" -print0)
|
||||
Reference in new issue
Block a user