mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 10:10:45 -06:00
increase ci timeout
This commit is contained in:
parent
afa347e80e
commit
4e30ceffb9
1 changed files with 6 additions and 1 deletions
|
@ -4,6 +4,7 @@ import ./[exec, context]
|
||||||
|
|
||||||
# localPassC is used by zippy but the additional
|
# localPassC is used by zippy but the additional
|
||||||
# module mangling on nixos somehow breaks localPassC
|
# module mangling on nixos somehow breaks localPassC
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/356524
|
||||||
when defined(amd64) and (defined(gcc) or defined(clang)):
|
when defined(amd64) and (defined(gcc) or defined(clang)):
|
||||||
{.passC: "-msse4.1 -mpclmul".}
|
{.passC: "-msse4.1 -mpclmul".}
|
||||||
|
|
||||||
|
@ -79,7 +80,11 @@ proc postGhApi(url: string, body: JsonNode) =
|
||||||
except:
|
except:
|
||||||
errorQuit "failed to get response code"
|
errorQuit "failed to get response code"
|
||||||
|
|
||||||
proc getInProgressRun(workflow: string, timeout: int = 5000): (GhWorkflowRun, bool) =
|
proc getInProgressRun(
|
||||||
|
workflow: string,
|
||||||
|
timeout: int = 10000
|
||||||
|
): (GhWorkflowRun, bool) =
|
||||||
|
## wait up to 10 seconds to try to fetch ongoing run url
|
||||||
let
|
let
|
||||||
start = now()
|
start = now()
|
||||||
timeoutDuration = initDuration(milliseconds = timeout)
|
timeoutDuration = initDuration(milliseconds = timeout)
|
||||||
|
|
Loading…
Reference in a new issue