summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-07-20 12:04:15 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-07-20 12:04:16 -0700
commit1129488f6f789c4219eaf0f127cfb6ca8a66c205 (patch)
treee95125d48374a4d4b91b2e66510010ba038038cc
parenta7127745f197807a8eeda3a6a34b9a0eee4a2c71 (diff)
Ignore win32/file.o on update-deps
This job has been so flaky: https://github.com/ruby/ruby/actions/runs/5614842978/job/15213840097
-rwxr-xr-xtool/update-deps8
1 files changed, 8 insertions, 0 deletions
diff --git a/tool/update-deps b/tool/update-deps
index 09c5b5e133..5e30525594 100755
--- a/tool/update-deps
+++ b/tool/update-deps
@@ -167,6 +167,12 @@ FILES_SAME_NAME_TOP = %w[
version.h
]
+# Files that may or may not exist on CI for some reason.
+# They are probably missing dependencies.
+UNSTABLE_FILES = %w[
+ win32/file.o
+]
+
# Other source files exist in the source directory.
def in_makefile(target, source)
@@ -230,6 +236,8 @@ def in_makefile(target, source)
else source2 = "$(top_srcdir)/#{source}"
end
["#{File.dirname(target)}/depend", target2, source2]
+ when UNSTABLE_FILES
+ warn "warning: ignoring: #{target}"
else
raise "unexpected target: #{target}"
end