From 4fc0db7389d2c93eebf232e802769a38702eea8e Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Wed, 27 Aug 2025 18:03:35 +0100 Subject: [PATCH] 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. --- .github/workflows/ubuntu-ibm.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ubuntu-ibm.yml b/.github/workflows/ubuntu-ibm.yml index 8b831bcd25..f5d93365c2 100644 --- a/.github/workflows/ubuntu-ibm.yml +++ b/.github/workflows/ubuntu-ibm.yml @@ -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