summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ubuntu.yml35
1 files changed, 30 insertions, 5 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index fa271e5cb5..ed56cd6600 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -24,6 +24,22 @@ jobs:
make:
strategy:
matrix:
+ test_task: [check]
+ configure: ['']
+ arch: ['']
+ os:
+ - ubuntu-24.04
+ - ubuntu-24.04-arm
+ # 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-s390x
+ # The ppc64le/s390x runners work only in the registered repositories.
+ # They don't work in forked repositories.
+ # https://github.com/IBM/actionspz/blob/main/docs/FAQ.md#what-about-forked-repos
+ upstream:
+ - ${{ github.repository == 'ruby/ruby' }}
include:
- test_task: check
configure: 'cppflags=-DVM_CHECK_MODE'
@@ -36,10 +52,11 @@ jobs:
- test_task: test-bundler-parallel
timeout: 50
- test_task: test-bundled-gems
- - test_task: check
- os: ubuntu-24.04
- - test_task: check
- os: ubuntu-24.04-arm
+ exclude:
+ - os: ubuntu-24.04-ppc64le
+ upstream: false
+ - os: ubuntu-24.04-s390x
+ upstream: false
fail-fast: false
env:
@@ -72,7 +89,15 @@ jobs:
with:
ruby-version: '3.1'
bundler: none
- if: ${{ !endsWith(matrix.os, 'arm') }}
+ if: ${{ !endsWith(matrix.os, 'arm') && !endsWith(matrix.os, 'ppc64le') && !endsWith(matrix.os, 's390x') }}
+
+ # Avoid possible test failures with the zlib applying the following patch
+ # on s390x CPU architecture.
+ # https://github.com/madler/zlib/pull/410
+ - name: Disable DFLTCC
+ run: echo "DFLTCC=0" >> $GITHUB_ENV
+ working-directory:
+ if: ${{ endsWith(matrix.os, 's390x') }}
- uses: ./.github/actions/setup/directories
with: