You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, sipnet.yml in pecanproject/pecan checks out pecanproject/sipnet, builds SIPNET from source using make, and then runs PEcAn tests. This adds an unnecessary failure point and compute/time for PEcAn GHAS.
Proposed Solution
Modify ci.yml in pecanproject/sipnet to build and upload the SIPNET binary as an artifact and update sipnet.yml in pecanproject/pecan to download and use the pre-built binary instead of compiling from source.
Benefits
Eliminates failed runs due to sipnet build issues
Eliminates redundant SIPNET builds in PEcAn CI
Reduces build time and improves efficiency
Next Steps
Update ci.yml in pecanproject/sipnet to build and upload SIPNET binary.
Update sipnet.yml in pecanproject/pecan to download and use the pre-built SIPNET binary.
Test and verify the workflows.
The text was updated successfully, but these errors were encountered:
The existing PEcAn sipnet test uses the checked-out sipnet repo for two things: to build the binary and then to provide the sipnet input files for the test run, so there is more than one file to be synced/retrieved each time
Build artifacts aren't permanent and I'm not sure whether you can even access them outside the workflow where they were created, let alone from another repository. I'm fuzzy on details here and could be wrong, but I believe that to persist artifacts for wider use you need a Deployment step that uploads them to some destination outside the GHA infrastructure.
I don't think either of these is a showstopper, just more pieces to put together to get this all working.
Problem
Currently,
sipnet.yml
inpecanproject/pecan
checks outpecanproject/sipnet
, builds SIPNET from source usingmake
, and then runs PEcAn tests. This adds an unnecessary failure point and compute/time for PEcAn GHAS.Proposed Solution
ci.yml
inpecanproject/sipnet
to build and upload the SIPNET binary as an artifact and updatesipnet.yml
inpecanproject/pecan
to download and use the pre-built binary instead of compiling from source.Benefits
Next Steps
ci.yml
inpecanproject/sipnet
to build and upload SIPNET binary.sipnet.yml
inpecanproject/pecan
to download and use the pre-built SIPNET binary.The text was updated successfully, but these errors were encountered: