Skip to content

Commit 68a62ba

Browse files
committed
CI: Add GitHub Actions ppc64le/s390x cases
1 parent 4e54478 commit 68a62ba

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,41 @@ jobs:
7777
cd tmp
7878
ruby test/run.rb
7979
80+
host-ibm:
81+
if: github.repository == 'ruby/fiddle'
82+
name: >-
83+
${{ matrix.os }}
84+
runs-on: ${{ matrix.os }}
85+
strategy:
86+
fail-fast: false
87+
matrix:
88+
os:
89+
- ubuntu-24.04-ppc64le
90+
- ubuntu-24.04-s390x
91+
92+
steps:
93+
- uses: actions/checkout@v5
94+
95+
- name: Set up Ruby
96+
run: |
97+
sudo apt-get update
98+
sudo apt-get install ruby-full bundler libffi-dev
99+
100+
- run: sudo bundle install --jobs 2
101+
102+
- run: rake compile
103+
104+
- run: ruby -Ilib test/run.rb
105+
106+
- run: sudo rake install
107+
108+
- name: Run test against installed gem
109+
run: |
110+
ruby -run -e mkdir -- -p tmp/
111+
ruby -run -e cp -- -pr test/ tmp/
112+
cd tmp
113+
ruby test/run.rb
114+
80115
docker:
81116
name: >-
82117
${{ matrix.service }}

0 commit comments

Comments
 (0)