Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up the new CI jobs introduced in #7653 #7655

Closed
Mikolaj opened this issue Sep 15, 2021 · 2 comments · Fixed by #8045
Closed

Speed up the new CI jobs introduced in #7653 #7655

Mikolaj opened this issue Sep 15, 2021 · 2 comments · Fixed by #8045

Comments

@Mikolaj
Copy link
Member

Mikolaj commented Sep 15, 2021

The idea is to upload artifacts in the same workflow and use them in the dogfooding workflow instead of building anew each time.

That should probably save around 20% of time spent in that whole workflow or a couple percent for the whole CI run (more once we manage to run Windows with more GHCs).

There's TODO in the CI template in that #7653 PR. The GitHub Actions docs are at https://docs.github.com/en/actions/guides/storing-workflow-data-as-artifacts

@jneira
Copy link
Member

jneira commented Mar 11, 2022

Another option could be cache effectively the build dir (now the workflow is attempting to do it but validate.sh uses a custom build dir instead dist-newstyle)

@andreabedini
Copy link
Collaborator

Looping myself in as I just spent some times with build artefacts on a different project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants