adafruit / circuitpython-build-tools

Build scripts for CircuitPython libraries and the bundle
MIT License
28 stars 17 forks source link

Use mpy-cross from S3 if possible #72

Closed lesamouraipourpre closed 3 years ago

lesamouraipourpre commented 3 years ago

Closes #55

This PR attempts to download mpy-cross from S3 before building locally as a fall-back.

Local Tests:

Github Testing: Impossible on the main repo, so some test repos with differences where necessary. https://github.com/lesamouraipourpre/samourai-build-tools https://pypi.org/project/samourai-build-tools/ https://github.com/lesamouraipourpre/Samourai_CircuitPython_DPS310/tree/samourai-build-tools-test https://github.com/lesamouraipourpre/Samourai_CircuitPython_DPS310/releases/tag/0.0.1-beta.3 https://pypi.org/project/samourai-circuitpython-dps310/ Note: These will be removed once this PR is closed.

Not implemented - these will continue to build mpy-cross every time

This probably needs further testing from those with more detailed knowledge of the build process.

jepler commented 3 years ago

We have added an M1 and a universal build now, if you are interested in making a new PR for that!

jepler commented 3 years ago

though of course it won't have a tagged release until the next 7.0 alpha, and probably never for 6.x.