auto-retry flaky zig on FileNotFound

This commit is contained in:
Anton-4 2022-08-02 17:18:51 +02:00 committed by Ayaz Hafiz
parent fb5ab7d7ca
commit ced2b2cda9
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -212,7 +212,7 @@ where
};
// flaky test error that only occurs sometimes inside MacOS ci run
if error_str.contains("unable to build stage1 zig object: FileNotFound")
if error_str.contains("FileNotFound")
|| error_str.contains("unable to save cached ZIR code")
{
run_command(path, command_str, args)