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.
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
callsbuild.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.