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

Refactor CI code #46346

Closed

Conversation

jonashaag
Copy link
Contributor

@jonashaag jonashaag commented Mar 12, 2022

I know this is a lot of changes. Happy to split into multiple PRs if it is too much to review.

Side effect of the changes is that most jobs are ~ 10 minutes faster.

  • Drop Azure (move to GHA).
  • Use mamba-org/provision-with-micromamba to set up Conda envs.
  • Cache Conda envs.
  • Use hendrikmuhs/ccache-action to cache C compiliation.
  • Add Windows 32 bit build.
  • Drop Ubuntu 32 bit build. (Can also bring back, have code for that.)
  • Factor out common GHA code into reusable actions.

@jonashaag jonashaag mentioned this pull request Mar 12, 2022
4 tasks
@jbrockmendel jbrockmendel added the CI Continuous Integration label Mar 14, 2022
@jonashaag jonashaag force-pushed the provision-with-micromamba branch 7 times, most recently from 767c9dc to 90e5591 Compare March 20, 2022 13:02
@jonashaag jonashaag changed the title WIP Use provision-with-micromamba Refactor CI code Mar 20, 2022
@jonashaag jonashaag force-pushed the provision-with-micromamba branch 2 times, most recently from 83bd3fa to 4c2f4cd Compare March 20, 2022 13:05
@jonashaag jonashaag marked this pull request as ready for review March 20, 2022 13:06
- Drop Azure (move to GHA).
- Use mamba-org/provision-with-micromamba to set up Conda envs.
- Cache Conda envs.
- Use hendrikmuhs/ccache-action to cache C compiliation.
- Add Windows 32 bit build.
- Drop Ubuntu 32 bit build.
- Factor out common GHA code into reusable actions.
@jonashaag jonashaag force-pushed the provision-with-micromamba branch from 4c2f4cd to 3008c94 Compare March 20, 2022 14:18
@jonashaag
Copy link
Contributor Author

@mroeschke would love your feedback here.

@mroeschke
Copy link
Member

+1 to all the changes, but it would be easier to review (and probably safer) if each of these changes could be made in separate PRs

@jonashaag
Copy link
Contributor Author

I can make the following PRs; anything else would require more work but I can do it as well if you want me to.

  • PR 1
    • Drop Azure (move to GHA).
    • Drop Ubuntu 32 bit build.
    • Factor out common GHA code into reusable actions.
  • PR 2: Add Windows 32 bit build.
  • PR 3: Use mamba-org/provision-with-micromamba to set up Conda envs.
  • PR 4: Cache Conda envs.
  • PR 5: Use hendrikmuhs/ccache-action to cache C compiliation.

@mroeschke
Copy link
Member

Yup those steps would be more digestible to review.

@jreback
Copy link
Contributor

jreback commented Mar 23, 2022

why do we care about windows 32 build?

@jonashaag
Copy link
Contributor Author

Acted on this comment. #44453 (comment)

@jonashaag jonashaag mentioned this pull request Mar 24, 2022
4 tasks
@jonashaag jonashaag closed this Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants