boschmitt / tweedledum

C++17 Library for analysis, compilation/synthesis, and optimization of quantum circuits
MIT License
97 stars 35 forks source link

Add travis job for non-x86 linux builds #143

Closed mtreinish closed 3 years ago

mtreinish commented 3 years ago

Description

This commit adds a travis ci configuration to leverage travis for building non-x86 precompiled linux binaries for pypi. It will require enabling travis CI on the repo before we can test this.

Suggested changelog entry:

Added binary wheel builds for aarch64, ppc64le, and s390x linux.
mtreinish commented 3 years ago

If travis is enabled on the repository I can tweak this to run on PRs to trigger a build to make sure it all works before merging. I went with travis because it's the only CI system available that has non-x86 nodes available. It's possible to do this in github actions too, but we would be just using qemu to emulate the different architectures and that is exceedingly slow.

boschmitt commented 3 years ago

If travis is enabled on the repository I can tweak this to run on PRs to trigger a build to make sure it all works before merging. I went with travis because it's the only CI system available that has non-x86 nodes available. It's possible to do this in github actions too, but we would be just using qemu to emulate the different architectures and that is exceedingly slow.

Thanks for this.

I used to use Travis, I will enable it once again. (I didn't know about their access to non-x86)

mtreinish commented 3 years ago

Yeah, I don't use travis for anything except non-x86 builds now. With the quota changes it basically makes it useless for me because I'm always over the limit on my account and things just don't trigger reliably.