Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test on truffleruby-head in CI #495

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- 2.6
- 2.7
# - ruby-head
# - truffleruby-head
- truffleruby-head
gemfile:
# These are located in the gemfiles/ folder
- rails42
Expand Down Expand Up @@ -86,11 +86,14 @@ jobs:
# - { ruby: ruby-head, gemfile: rails42 }
# - { ruby: ruby-head, gemfile: rails42_boc }
# - { ruby: ruby-head, gemfile: rails42_haml }
- { ruby: truffleruby-head, gemfile: rails42 }
- { ruby: truffleruby-head, gemfile: rails42_boc }
- { ruby: truffleruby-head, gemfile: rails42_haml }
- { ruby: truffleruby-head, gemfile: rails50_boc }
- { ruby: truffleruby-head, gemfile: rails51_boc }
- { ruby: truffleruby-head, gemfile: rails52_boc }
- { ruby: truffleruby-head, gemfile: rails60_boc }
- { ruby: truffleruby-head, gemfile: rails61_boc }
- { ruby: truffleruby-head, gemfile: rack_boc }

steps:
Expand All @@ -102,6 +105,9 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}

- run: sudo apt-get -yqq install libxml2-dev libxslt-dev
if: startsWith(matrix.ruby, 'truffleruby')

- uses: actions/cache@v2
with:
path: gemfiles/vendor/bundle
Copy link
Author

@eregon eregon Dec 8, 2020

Choose a reason for hiding this comment

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

I noticed the fairly verbose logic here to cache bundle install, did you try setup-ruby's bundler-cache: true?
Was there any issue with it?
https://github.com/ruby/setup-ruby#caching-bundle-install-automatically has some docs about that and where to set BUNDLE_GEMFILE.

Expand Down