Ignore win32/file.o on update-deps
This job has been so flaky: https://github.com/ruby/ruby/actions/runs/5614842978/job/15213840097
This commit is contained in:
parent
a7127745f1
commit
1129488f6f
@ -167,6 +167,12 @@ FILES_SAME_NAME_TOP = %w[
|
|||||||
version.h
|
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.
|
# Other source files exist in the source directory.
|
||||||
|
|
||||||
def in_makefile(target, source)
|
def in_makefile(target, source)
|
||||||
@ -230,6 +236,8 @@ def in_makefile(target, source)
|
|||||||
else source2 = "$(top_srcdir)/#{source}"
|
else source2 = "$(top_srcdir)/#{source}"
|
||||||
end
|
end
|
||||||
["#{File.dirname(target)}/depend", target2, source2]
|
["#{File.dirname(target)}/depend", target2, source2]
|
||||||
|
when UNSTABLE_FILES
|
||||||
|
warn "warning: ignoring: #{target}"
|
||||||
else
|
else
|
||||||
raise "unexpected target: #{target}"
|
raise "unexpected target: #{target}"
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user