amd64-linux - tested as part of Github actions above showing as Linux-x86_64 from uname. This is the main target of this PR and it is noticeably faster when the library Gihub actions run.
Not implemented - these will continue to build mpy-cross every time
x64-windows - unable to test - the original circuitpython-build-tools fails in my Windows/Python environment with PermissionError when copying files. I don't use Windows for development so I've put no effort into fixing it.
aarch64 - not certain what this is. I assume it is Raspbian 64bit or Ubuntu 64bit on Raspberry Pi. I don't currently have either.
This probably needs further testing from those with more detailed knowledge of the build process.
Closes #55
This PR attempts to download
mpy-cross
from S3 before building locally as a fall-back.Local Tests:
raspian
- Raspberry Pi4 32bit - Linux 5.10.17-v7l+ armv7l - SUCCESSmacos-catalina
- macOS Catalina - 10.15.7 - SUCCESSGithub 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.
amd64-linux
- tested as part of Github actions above showing as Linux-x86_64 from uname. This is the main target of this PR and it is noticeably faster when the library Gihub actions run.Not implemented - these will continue to build
mpy-cross
every timex64-windows
- unable to test - the originalcircuitpython-build-tools
fails in my Windows/Python environment withPermissionError
when copying files. I don't use Windows for development so I've put no effort into fixing it.aarch64
- not certain what this is. I assume it is Raspbian 64bit or Ubuntu 64bit on Raspberry Pi. I don't currently have either.This probably needs further testing from those with more detailed knowledge of the build process.