[ruby-core:96199] [Ruby master Misc#16360] Enabling IBM PowerPC/Z cases in Travis CI

[email protected]
Newsgroups gmane.comp.lang.ruby.core
Message-ID <redmine.journal-83085.20191211124942.9371b3ba1646d683@ruby-lang.org>
Issue #16360 has been updated by jaruga (Jun Aruga).


You see that "s390x-linux" case was disappeared on the latest master branch Travis now.
https://travis-ci.org/ruby/ruby/builds/623632919

I think it was a wrong way.

The modification to add s390x-linux case to allow_failures could be like this from the latest master branch's `.travis.yml`.


```
$ git diff
diff --git a/.travis.yml b/.travis.yml
index 5d1a8822cf..71945e349e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -418,6 +418,7 @@ matrix:
     - <<: *arm64-linux
     - <<: *i686-linux
     - <<: *arm32-linux
+    - <<: *s390x-linux
     - <<: *pedanticism
     - <<: *assertions
     - <<: *baseruby
@@ -438,10 +439,10 @@ matrix:
     - <<: *CALL_THREADED_CODE
     - <<: *NO_THREADED_CODE
   allow_failures:
+    - name: s390x-linux
     - name: -fsanitize=address
     - name: -fsanitize=memory
     - name: -fsanitize=undefined
-    - <<: *s390x-linux
   fast_finish: true
 
 before_script:
```


----------------------------------------
Misc #16360: Enabling IBM PowerPC/Z cases in Travis CI
https://bugs.ruby-lang.org/issues/16360#change-83085

* Author: jaruga (Jun Aruga)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
We added `arm64-linux` and `arm32-linux` cases to Travis CI by [the ticket](https://bugs.ruby-lang.org/issues/16234).
The `arm32-linux` case is going to be stable after [this pull-request](https://github.com/ruby/ruby/pull/2686) will be merged.

So, I would like to talk about this topic.
Currently Travis CI has following 4 multiple CPU architectures cases.

* `x86_64-linux` (Intel, 64-bit, Little-endian)
* `arm64-linux` (ARM, 64-bit, Little-endian)
* `i686-linux` (Intel, 32-bit, Little-endian)
* `arm32-linux` (ARM, 32-bit, Little-endian)

And a exciting news came from Travis CI this month.
Now Travis supports `arch: ppc64le` and `arch: s390x` as `arch: arm64` as well.

Build your open source projects on IBM Power and IBM Z CPU architecture
https://blog.travis-ci.com/2019-11-12-multi-cpu-architecture-ibm-power-ibm-z


So, how do you think about adding following 2 cases to Travis CI too?

* `ppc64le-linux` (IBM PowerPC, 64-bit, Little-endian)
* `s390x-linux` (IBM Z/Linux One, 64-bit, Big-endian)


## ppc64le, s390x use cases in Ruby project

* Searching tickets in Redmine, there were some architecture specific issues in the past.
* https://rubyci.org/ has s390x. But it seems it does not have ppc64le.
* s390x is a big-endian. It looks good to check the big-endian specific issue.


## ppc64le, s390x use cases in Linux distributions

For example Ubuntu is supporting ppc64le, s390x, providing the container image.

> https://hub.docker.com/_/ubuntu
> Supported architectures: (more info)
> amd64, arm32v7, arm64v8, i386, ppc64le, s390x

Fedora project is supporting ppc64le, s390x too.

> https://hub.docker.com/_/fedora
> Supported architectures: (more info)
> amd64, arm32v7, arm64v8, ppc64le, s390x

Are you interested in adding the ppc64le and s390x test cases to Travis CI?




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.