Skip to content

Commit

Permalink
CI: Ruby 2.5 runs on macos-13 (amd64)
Browse files Browse the repository at this point in the history
CI: Add memory to JRuby, to avoid an OOM.
  • Loading branch information
olleolleolle committed Jul 16, 2024
1 parent be0ba74 commit 89a5e07
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
- { os: windows-latest, ruby: ucrt }
- { os: windows-latest, ruby: mingw }
- { os: windows-latest, ruby: mswin }
- { os: macos-13, ruby: 2.5 }
exclude:
- { os: macos-latest, ruby: 2.5 }
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
Expand All @@ -30,6 +33,10 @@ jobs:
apt-get: "haveged libyaml-dev"
brew: libyaml
vcpkg: libyaml
- name: Set JRuby ENV vars
run: |
echo 'JAVA_OPTS=-Xmx1g' >> $GITHUB_ENV
if: ${{ ! startsWith(matrix.os, 'windows') }}
- name: Install dependencies
run: bundle install --jobs 1
- name: Run test
Expand Down

0 comments on commit 89a5e07

Please sign in to comment.