Skip to content

Commit 3217988

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

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)