[edk2-devel] running CI locally

Laszlo Ersek lersek at redhat.com
Wed Aug 19 17:59:47 UTC 2020


On 08/19/20 18:22, Sean Brogan wrote:
> Laszlo/Mike,
> 
> This is the joy of distributed repositories.
> Remember edk2 ci is actually using edk2-pytool-extensions and
> edk2-pytool-library.  Documentation is in those projects.
> 
> https://github.com/tianocore/edk2-pytool-extensions/tree/master/docs
> https://github.com/tianocore/edk2-pytool-library/tree/master/docs
> 
> I won't say they are great and I hope someday relatively soon we can
> talk about an edk2 static site generator that can include docs from
> multiple repositories (much like https://microsoft.github.io/mu/) as I
> think documentation on edk2 is a weak spot.
> 
> Regarding Mono and nuget.  It is one of those things we wish was
> different as we have found it very inconsistent across different
> distributions of linux.  But we do have docs here.
> https://github.com/tianocore/edk2-pytool-extensions/blob/master/docs/usability/using_linux.md
> 
> 
> And more specifically here:
> https://github.com/tianocore/edk2-pytool-extensions/blob/master/docs/usability/using_extdep.md#a-note-on-nuget-on-linux
> 
> 
> 
> Finally getting to why you don't run the compile.
> Core CI (stuart_ci_build)  is a plugin runner.  Compile test is just one
> of those tests.  OvmfPkg is a platform and thus didn't opt into core ci
> compile testing.  In the table here i tried to document that OvmfPkg
> didn't compile using core ci and that a user should look at the readme.
> https://github.com/tianocore/edk2/blob/master/.pytool/Readme.md#basic-status
> 
> 
> So for OvmfPkg we enabled what we call platform ci (stuart_build).  I
> think the write up here is pretty complete (although i see it has no
> mention of mono either).
> https://github.com/tianocore/edk2/tree/master/OvmfPkg/PlatformCI
> 
> One final note.  Yes the logging to console is by default very brief.
> This is by design as it is easier to quickly look and see what test
> failed and then use the log file (as mike mentioned) to find the root
> cause.
> 
> Hope that helps and it is great to see people using it.  Feedback is
> much appreciated.

The documentation looks *awesome*, and it's entirely my fault that I
couldn't find it. I apologize.

I'll report back with more results.

Thanks!
Laszlo


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#64458): https://edk2.groups.io/g/devel/message/64458
Mute This Topic: https://groups.io/mt/76285051/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list