You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support Github Actions continuous integration? #325
Hi, I love multibuild and use it for all my projects' native wheels.
I recently started to learn about Github Actions and was wondering if multibuild could be adapted to also run from Github's continous integration, in alternative to Travis. Has anybody tried?
Feel free to close if this out of scope, thanks.
Reacted by Nikolaus Waxweiler, riddell-stan and Axel Huebl
I'd like an alternative as well. travis-ci has not been working reliably for me in recent days. Also, it would be nice to have all the wheels (linux, macos, win) being built by a single service.
Update (August 2020): travis-ci.com is working fine. Moving repos from travis-ci.org to travis-ci.com has not always been smooth. I believe that was the source of my problem.
I think only travis supports ppc64le and s390x right now, so until that support is more widespread it might be tough to move away. There are more alternatives for aarch64.
It's possible to wrap this repo as a GitHub Action so that other people can use it without having to copy stuff into their own repos (i.e. just 1-2 line config).
This would require an action.yml file in the repo root and some thin wrapper for mapping the inputs and calling the shell scripts in JS.
The dipy-wheels project is running multibuild as a github workflow with a matrix of ubuntu-latest, macos-latest and various python versions. It seems quite straight-forward.
It would be great if someone could add a simple github action workflow to the documentation of this project. After blindly trying to do this myself, and looking at the projects mentioned above, I can't get this to work.
As I don't really understand the internals of how multibuild works, I might be making some really stupid mistakes. In any case, for linux builds, I end with this error:
Digest: sha256:968432a07463344d4818f2c19d9b9149306cf8093390eb99bf22b670f5823f3d
Status: Downloaded newer image for quay.io/pypa/manylinux1_x86_64:latest
quay.io/pypa/manylinux1_x86_64:latest
http://vault.centos.org/5.11/extras/x86_64/repodata/primary.sqlite.bz2: [Errno 4] IOError: <urlopen error (99, 'Cannot assign requested address')>
Trying other mirror.
http://vault.centos.org/5.11/extras/x86_64/repodata/primary.sqlite.bz2: [Errno 4] IOError: <urlopen error (99, 'Cannot assign requested address')>
Trying other mirror.
Error: failure: repodata/primary.sqlite.bz2 from extras: [Errno 256] No more mirrors to try.
Error: Process completed with exit code 1.
Whereas for macos builds, I get a brew error:
Error: gcc 10.2.0 is already installed
To upgrade to 10.2.0_2, run `brew upgrade gcc`.
Switching to manylinux2010/2014 gets me a little further, but the build fails while trying to install openblas:
+ local tar_path=/io/archives/openblas-0.3.10-Linux-x86_64.tar.gz
+ cd /
+ tar zxf /io/archives/openblas-0.3.10-Linux-x86_64.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
cibuildwheel has a nice github action. If your github workflow does not involve too many third party libraries, perhaps you should migrate to it. There are examples of non-github uses of multibuild, for instance rasterio is using it on cirrus CI. We are not likely to develop multibuild into a github action without sponsorship.
Activity
riddell-stan commentedon Apr 8, 2020
I'd like an alternative as well. travis-ci has not been working reliably for me in recent days. Also, it would be nice to have all the wheels (linux, macos, win) being built by a single service.
https://github.com/joerick/cibuildwheel seems to have figured out a way to use GitHub Actions.
Update (August 2020): travis-ci.com is working fine. Moving repos from travis-ci.org to travis-ci.com has not always been smooth. I believe that was the source of my problem.
mattip commentedon Apr 8, 2020
I think only travis supports ppc64le and s390x right now, so until that support is more widespread it might be tough to move away. There are more alternatives for aarch64.
[-]support Github Actions continuous integration?[/-][+]Support Github Actions continuous integration?[/+]webknjaz commentedon Apr 24, 2020
It's possible to wrap this repo as a GitHub Action so that other people can use it without having to copy stuff into their own repos (i.e. just 1-2 line config).
This would require an
action.ymlfile in the repo root and some thin wrapper for mapping the inputs and calling the shell scripts in JS.I have a simple Action solely for uploading dists @ https://github.com/pypa/gh-action-pypi-publish and have a lot of experience with GH integrations and alike so feel free to ask me for help/pointers if needed.
mattip commentedon Dec 5, 2020
The dipy-wheels project is running multibuild as a github workflow with a matrix of ubuntu-latest, macos-latest and various python versions. It seems quite straight-forward.
MarkWieczorek commentedon Jan 17, 2021
It would be great if someone could add a simple github action workflow to the documentation of this project. After blindly trying to do this myself, and looking at the projects mentioned above, I can't get this to work.
mattip commentedon Jan 17, 2021
What didn't work?
MarkWieczorek commentedon Jan 17, 2021
As I don't really understand the internals of how multibuild works, I might be making some really stupid mistakes. In any case, for linux builds, I end with this error:
Whereas for macos builds, I get a brew error:
Here is a link to the full output if that interests you: https://github.com/SHTOOLS/build-shtools/actions/runs/491515430
MarkWieczorek commentedon Jan 17, 2021
Switching to manylinux2010/2014 gets me a little further, but the build fails while trying to install openblas:
mattip commentedon Oct 23, 2024
cibuildwheel has a nice github action. If your github workflow does not involve too many third party libraries, perhaps you should migrate to it. There are examples of non-github uses of multibuild, for instance rasterio is using it on cirrus CI. We are not likely to develop multibuild into a github action without sponsorship.
mattip commentedon Oct 23, 2024
Here is another nice example of using multibuild in a github action.
I will close this, since it seems the request can be fulfilled. Please reopen or open a new issue if I misunderstood.