Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,40 @@ jobs:
cd tmp
ruby test/run.rb

host-ibm:
if: github.repository == 'ruby/fiddle'
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04-ppc64le
- ubuntu-24.04-s390x

steps:
- uses: actions/checkout@v5

- name: Set up Ruby
run: |
sudo apt-get update
sudo apt-get install ruby-full bundler libffi-dev

- run: sudo bundle install --jobs $(nproc)

- run: rake compile
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- run: rake compile
- run: bundle exec rake compile

Copy link
Member Author

@junaruga junaruga Sep 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rake compile without bundle exec is to align the current style of the other parts. Below is the current status in the latest master branch. I can send another PR for this change including other parts later.

$ grep -rn 'rake compile' .github/workflows/
.github/workflows/ci.yml:52:      - run: rake compile
.github/workflows/libffi.yml:35:        run: rake compile -- --with-libffi-dir=${{ matrix.libffi-prefix }}
.github/workflows/libffi.yml:38:        run: rake compile -- --with-libffi-source-dir=$(pwd)/libffi-${{ matrix.libffi }}


- run: ruby -Ilib test/run.rb
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- run: ruby -Ilib test/run.rb
- run: bundle exec ruby -Ilib test/run.rb

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ruby -Ilib test/run.rb without bundle exec is to align the current style of the other parts. Below is the current status of the latest master branch. I can send another PR for this change including other parts later.

$ grep -rn 'test/run.rb' .github/workflows/
.github/workflows/ci.yml:63:      - run: ruby -Ilib test/run.rb
.github/workflows/ci.yml:78:          ruby test/run.rb


- run: sudo rake install

- name: Run test against installed gem
run: |
ruby -run -e mkdir -- -p tmp/
ruby -run -e cp -- -pr test/ tmp/
cd tmp
ruby test/run.rb

docker:
name: >-
${{ matrix.service }}
Expand Down
Loading