Skip to content

Commit 4b923b4

Browse files
authored
Merge pull request #946 from junaruga/wip/gha-ppc64le-s390x
CI: Add GitHub Actions ppc64le/s390x cases
2 parents 5403c0c + b2d7c2a commit 4b923b4

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- { os: windows-latest, ruby: ucrt }
2727
- { os: windows-latest, ruby: mswin }
2828

29-
steps:
29+
steps: &test-steps
3030
- name: repo checkout
3131
uses: actions/checkout@v5
3232

@@ -35,6 +35,14 @@ jobs:
3535
with:
3636
ruby-version: ${{ matrix.ruby }}
3737
bundler-cache: true # `bundle install` and cache
38+
if: ${{ !endsWith(matrix.os, 'ppc64le') && !endsWith(matrix.os, 's390x') }}
39+
40+
- name: load ruby from deb package
41+
run: |
42+
sudo apt update
43+
sudo apt install ruby-full bundler
44+
sudo bundle install --jobs $(nproc)
45+
if: ${{ endsWith(matrix.os, 'ppc64le') || endsWith(matrix.os, 's390x') }}
3846

3947
# See https://github.com/oneclick/rubyinstaller2/issues/60
4048
# The builtin DLLs are preferred over the mingw-w64/vcpkg DLLs. This is a
@@ -69,6 +77,19 @@ jobs:
6977
run: bundle exec rake test TESTOPTS="-v --no-show-detail-immediately" OSSL_TEST_ALL=1
7078
timeout-minutes: 5
7179

80+
test-ibm:
81+
if: github.repository == 'ruby/openssl'
82+
name: ${{ matrix.os }}
83+
runs-on: ${{ matrix.os }}
84+
strategy:
85+
fail-fast: false
86+
matrix:
87+
include:
88+
- os: ubuntu-24.04-ppc64le
89+
- os: ubuntu-24.04-s390x
90+
91+
steps: *test-steps
92+
7293
test-openssls:
7394
name: >-
7495
${{ matrix.openssl }} ${{ matrix.name-extra }}

0 commit comments

Comments
 (0)