morelinq / MoreLINQ

Extensions to LINQ to Objects
https://morelinq.github.io/
Apache License 2.0
3.67k stars 412 forks source link

Solution getting built twice during a CI build #951

Closed atifaziz closed 1 year ago

atifaziz commented 1 year ago

During a CI build, the solution get built twice. First when pack.cmd/pack.sh is called:

https://github.com/morelinq/MoreLINQ/blob/a610d3a1c132bcfa403e8c989cfab4e5acc9a725/appveyor.yml#L75

and a second time when running tests:

https://github.com/morelinq/MoreLINQ/blob/a610d3a1c132bcfa403e8c989cfab4e5acc9a725/appveyor.yml#L84-L86

This is happens because test.cmd/test.sh calls build.cmd/build.sh and the latter generates code. The code generation invalidates the previous build from packing and consequently ends up re-building again. This leads to longer CI build times than necessary.

atifaziz commented 1 year ago

Closed via f0ede85f359b762ba8633531669da446bb1cf512.