Skip to content

Commit 42b4b2b

Browse files
committed
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.
1 parent 386ce29 commit 42b4b2b

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/ubuntu-ibm.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ jobs:
2727
test_task: [check]
2828
configure: ['']
2929
os:
30-
# FIXME Comment out ppc64le due to failing tests on GitHub Actions
31-
# ppc64le
32-
# https://bugs.ruby-lang.org/issues/21534
33-
# - ubuntu-24.04-ppc64le
30+
- ubuntu-24.04-ppc64le
3431
- ubuntu-24.04-s390x
3532
# Add a x86_64 case to make this CI pass on fork repositories.
3633
- ubuntu-24.04
@@ -107,8 +104,14 @@ jobs:
107104
- name: Run configure
108105
env:
109106
configure: ${{ matrix.configure }}
110-
run: >-
111-
../src/configure -C --disable-install-doc ${configure:-cppflags=-DRUBY_DEBUG}
107+
# Don't set cppflags=-DRUBY_DEBUG on ppc64le, due to some Ractor tests
108+
# failing in the case.
109+
# https://bugs.ruby-lang.org/issues/21534
110+
run: |
111+
if [ "$(uname -m)" != "ppc64le" ]; then
112+
configure="${configure:-cppflags=-DRUBY_DEBUG}"
113+
fi
114+
../src/configure -C --disable-install-doc ${configure}
112115
113116
- run: make
114117

0 commit comments

Comments
 (0)