0

Is there a way to 'precache' or run Xcode build as a separate task before running tests? The first build takes significantly longer than the other resulting in pipeline timeout.

I've run flutter test integration_test on local machine after already created Xcode build, all success.

The average build time is around 60s.

After i run flutter clean and rerun the same test to simulate pipeline build. The build of the first test takes up to:

Xcode build done. 581.4s

This with added runtime of my test exceeds pipeline required time and results in Timeout. My idea is to split this first build into separate task, so that the time tests are run the build takes significantly less time.

Is there any way to achieve that?

Jan-Stepien
  • 349
  • 2
  • 9

0 Answers0