Skip to content

Commit db9ae59

Browse files
committed
CI: Migrate Travis CI ppc64le/s390x cases to the GitHub Actions.
Add a job for the ppc64le/s390x cases using GitHub Actions ppc64le/s390x service. https://github.com/IBM/actionspz We can run the job only in the registered upstream repositories. https://github.com/IBM/actionspz/blob/main/docs/FAQ.md#what-about-forked-repos
1 parent dee6c23 commit db9ae59

2 files changed

Lines changed: 21 additions & 25 deletions

File tree

.github/workflows/main.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,27 @@ jobs:
7878
run: bundle exec rake
7979
shell: bash
8080

81+
build-ibm:
82+
if: github.repository == 'ruby/prism'
83+
strategy:
84+
fail-fast: false
85+
matrix:
86+
os:
87+
- ubuntu-24.04-ppc64le
88+
- ubuntu-24.04-s390x
89+
runs-on: ${{ matrix.os }}
90+
steps:
91+
- uses: actions/checkout@v4
92+
- name: Set up Ruby
93+
run: |
94+
sudo apt-get update
95+
sudo apt-get install ruby-full bundler libyaml-dev
96+
- name: Install dependencies
97+
run: sudo bundle install --jobs 2
98+
- name: Run Ruby tests
99+
run: bundle exec rake
100+
shell: bash
101+
81102
build-ffi:
82103
strategy:
83104
fail-fast: false

.travis.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)