Skip to content

Commit c617b31

Browse files
committed
CI: ubuntu-ibm.yml: Add GitHub Actions ppc64le case
Note that the default configure option `./configure cppflags=-DRUBY_DEBUG` 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 e66cc38 commit c617b31

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/ubuntu-ibm.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ jobs:
2828
configure: ['']
2929
arch: ['']
3030
os:
31-
# FIXME Comment out ppc64le due to failing tests on GitHub Actions
32-
# ppc64le
33-
# https://bugs.ruby-lang.org/issues/21534
34-
# - ubuntu-24.04-ppc64le
31+
- ubuntu-24.04-ppc64le
3532
- ubuntu-24.04-s390x
3633
# The ppc64le/s390x runners work only in the registered repositories.
3734
# They don't work in forked repositories.
@@ -106,9 +103,15 @@ jobs:
106103
env:
107104
arch: ${{ matrix.arch }}
108105
configure: ${{ matrix.configure }}
109-
run: >-
110-
$SETARCH ../src/configure -C --disable-install-doc ${configure:-cppflags=-DRUBY_DEBUG}
111-
${arch:+--target=$arch-$OSTYPE --host=$arch-$OSTYPE}
106+
# Don't set cppflags=-DRUBY_DEBUG on ppc64le, due to some Ractor tests
107+
# failing in the case.
108+
# https://bugs.ruby-lang.org/issues/21534
109+
run: |
110+
if [ "$(uname -m)" != "ppc64le" ]; then
111+
configure="${configure:-cppflags=-DRUBY_DEBUG}"
112+
fi
113+
$SETARCH ../src/configure -C --disable-install-doc ${configure} \
114+
${arch:+--target=$arch-$OSTYPE --host=$arch-$OSTYPE}
112115
113116
- run: $SETARCH make
114117

0 commit comments

Comments
 (0)