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

Travis CI: Now supports builds on arch: ppc64le and s390x #2016

Closed
cclauss opened this issue Oct 29, 2019 · 6 comments
Closed

Travis CI: Now supports builds on arch: ppc64le and s390x #2016

cclauss opened this issue Oct 29, 2019 · 6 comments

Comments

@cclauss
Copy link
Contributor

cclauss commented Oct 29, 2019

This is in alpha but it seems to work: https://docs.travis-ci.com/user/multi-cpu-architectures

.travis.yml

language: cpp
arch:        # Removed from below: uname_result(system='Linux', node='XYZ')
  - amd64    # uname_result(release='4.15.0-1028-gcp',  version='#29~16.04.1-Ubuntu SMP', machine='x86_64',  processor='x86_64')
  - arm64    # uname_result(release='5.0.0-23-generic', version='#24~18.04.1-Ubuntu SMP', machine='aarch64', processor='aarch64')
  - aarch64  # Same as `arch: amd64`
  - ppc64le  # uname_result(release='5.0.0-23-generic', version='#24~18.04.1-Ubuntu SMP', machine='ppc64le', processor='ppc64le')
  - s390x    # uname_result(release='5.0.0-23-generic', version='#24~18.04.1-Ubuntu SMP', machine='s390x',   processor='s390x')
  - x86_64   # Same as `arch: amd64`
script:
  - uname -a
  - python3 -c "import platform ; print(platform.uname())"

arm64, ppc64le, and s390x currently seem to default to Bionic http://releases.ubuntu.com/18.04

@sam-github
Copy link
Contributor

I think this is really interesting, but unfortunate its only specific ubuntu versions.

I wonder if we could retire some of our hosts in favour of Travis?

@richardlau
Copy link
Member

I'm not even sure I'd class ppc64le and s390x as alpha as AFAIK Travis have never announced these.

@mhdawson
Copy link
Member

mhdawson commented Nov 1, 2019

@sam-github I know we (IBM) are working with Travis on support for these platforms. I'm not sure we'd want to do something specific for PPC/s390 versus what we do on other platforms. The proposal to use docker (If @rvagg can get it working consistently ) seems a bit more interesting. I also agree with @richardlau that we'd want to let it bake a bit more before betting on it.

@sam-github
Copy link
Contributor

sam-github commented Nov 1, 2019

I agree with waiting, its too cutting edge to commit to now.

wrt.

I'm not sure we'd want to do something specific for PPC/s390 versus what we do on other platforms.

I didn't suggest doing something specific for ppc/s390.

It is the lack of architecture, OS, and distro diversity on Travis (and CI-as-a-service generally) that forces us to maintain so much diversity in node CI. If Travis gains diversity and gets it stable, then we can run more jobs on Travis generally, not just specifically for a couple archs, and x64 (existing on Travis), arm, ppc, and s390 seems like its approaching pretty close to covering our arch varieties.

@sam-github
Copy link
Contributor

Nothing planned to do here at the moment, so closing.

@richardlau
Copy link
Member

I'm not even sure I'd class ppc64le and s390x as alpha as AFAIK Travis have never announced these.

Travis has now announced these as alpha 🎉: https://blog.travis-ci.com/2019-11-12-multi-cpu-architecture-ibm-power-ibm-z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants