Skip to content

Commit 8333bee

Browse files
committed
allow C API build failure in the style gate
1 parent 4ce719d commit 8333bee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,6 +1761,9 @@ def build(self):
17611761
mx.ensure_dir_exists(cwd)
17621762
rc = self.run(args, cwd=cwd)
17631763
shutil.rmtree(cwd) # remove the temporary build files
1764+
# if we're just running style tests, this is allowed to fail
1765+
if os.environ.get("BUILD_NAME") == "python-style":
1766+
return 0
17641767
return min(rc, 1)
17651768

17661769
def src_dir(self):

0 commit comments

Comments
 (0)