@@ -83,6 +83,18 @@ def resolve(args):
8383 else :
8484 run = json_request ("GET" , f"https://api.github.com/repos/{ REPO } /actions/runs/{ args .run_id } " , headers )
8585 values = source_values (run , args .build_config , args .scene_set , args .publish )
86+ for config in args .extra_build_config :
87+ config = choice (config , CONFIGS , "extra build config" )
88+ wait_workflow_job_artifact (
89+ REPO ,
90+ "build-nabla.yml" ,
91+ BRANCH ,
92+ values ["sha" ],
93+ headers ,
94+ "Build" ,
95+ f"Nabla (windows-2022, msvc-17.13.6, { config } )" ,
96+ f"run-windows-*-msvc-{ config } -install" ,
97+ )
8698 output (values )
8799 print (f"Resolved Build run { values ['run_id' ]} on { BRANCH } at { values ['sha' ]} ." )
88100
@@ -327,6 +339,7 @@ def parser():
327339 add_args (resolve_parser , ["github-token" , "repository" , "event-name" ])
328340 add_args (resolve_parser , ["branch" , "sha" , "run-id" ], False , "" )
329341 resolve_parser .add_argument ("--build-config" , default = "Release" )
342+ resolve_parser .add_argument ("--extra-build-config" , action = "append" , default = [])
330343 resolve_parser .add_argument ("--scene-set" , default = "both" )
331344 resolve_parser .add_argument ("--publish" , default = "true" )
332345 resolve_parser .set_defaults (func = resolve )
0 commit comments