CI: ubuntu-ibm.yml: Add GitHub Actions ppc64le case

Note that the default configure option `./configure cppflags=-DRUBY_DEBUG` with
the default optimization level `-O3`, causes the following Ractor test and other
tests failing. So, we don't set the option in ppc64le case.

```
$ make btest BTESTS=bootstraptest/test_ractor.rb
```

See https://bugs.ruby-lang.org/issues/21534 for details.
This commit is contained in:
Jun Aruga 2025-08-27 18:03:35 +01:00 committed by Jun Aruga
parent dd09d8987c
commit 4fc0db7389

View File

@ -27,10 +27,7 @@ jobs:
test_task: [check]
configure: ['']
os:
# FIXME Comment out ppc64le due to failing tests on GitHub Actions
# ppc64le
# https://bugs.ruby-lang.org/issues/21534
# - ubuntu-24.04-ppc64le
- ubuntu-24.04-ppc64le
- ubuntu-24.04-s390x
# Add a x86_64 case to make this CI pass on fork repositories.
- ubuntu-24.04
@ -107,8 +104,14 @@ jobs:
- name: Run configure
env:
configure: ${{ matrix.configure }}
run: >-
../src/configure -C --disable-install-doc ${configure:-cppflags=-DRUBY_DEBUG}
# Don't set cppflags=-DRUBY_DEBUG on ppc64le, due to some Ractor tests
# failing in the case.
# https://bugs.ruby-lang.org/issues/21534
run: |
if [ "$(uname -m)" != "ppc64le" ]; then
configure="${configure:-cppflags=-DRUBY_DEBUG}"
fi
../src/configure -C --disable-install-doc ${configure}
- run: make