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

Generalize Linux and macOS CI build scripts to also work locally in a robust way #108

Open
harshithdwivedi opened this issue Apr 10, 2020 · 2 comments

Comments

@harshithdwivedi
Copy link
Contributor

The current scripts are supposed to work in a CI environment.
On trying these on a local machine; if the build fails due to some reason, subsequent attempts to build rawpy won't work and you might see errors like:

+ source .github/scripts/retry.sh
+ export MACOSX_DEPLOYMENT_TARGET=10.9
+ MACOSX_DEPLOYMENT_TARGET=10.9
+ export PYTHON_INSTALLER_MACOS_VERSION=10.9
+ PYTHON_INSTALLER_MACOS_VERSION=10.9
+ '[' 3.7 == 3.5 ']'
+ git clone https://github.com/matthew-brett/multibuild.git
fatal: destination path 'multibuild' already exists and is not an empty directory.

We need to have new scripts that take this case into account and add some documentation to the Readme on how to use them as well.

@letmaik
Copy link
Owner

letmaik commented Apr 10, 2020

Instead of having new mostly copied scripts I would rather try to make the CI scripts more generic so that they also work locally well.

@harshithdwivedi
Copy link
Contributor Author

harshithdwivedi commented Apr 10, 2020 via email

@letmaik letmaik changed the title Add scripts for building rawpy from source locally Generalize CI build scripts to also work locally in a robust way Apr 10, 2020
@letmaik letmaik changed the title Generalize CI build scripts to also work locally in a robust way Generalize Linux and macOS CI build scripts to also work locally in a robust way Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants