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

CI: Move some workflow steps into ci/micropython.sh #878

Merged
merged 9 commits into from
Jan 19, 2024
Merged

Conversation

Gadgetoid
Copy link
Member

@Gadgetoid Gadgetoid commented Nov 16, 2023

For a few reasons:

  1. Reduce our dependency on GitHub actions workflows
  2. Attempt to provide tools we can run locally to replicate a CI build
  3. Make build steps more discoverable and less intertwined with GitHub Actions idiosyncrasies

This changeset also switches to arm-none-eabi-gcc-action (instead of apt) to handle installing the ARM GCC toolchain. This uses caching, speeding up the compiler install from 60+ seconds down to about 7 seconds.

I have dropped our "deps" step (a pre-requisite of each MicroPython build) in favour of just setting up the environment for each build. This is - in theory - slower, but is much less complicated and less prone to weird errors.

@Gadgetoid
Copy link
Member Author

Rebased on top of #892

@Gadgetoid Gadgetoid merged commit 392d75b into main Jan 19, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant