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

Switch to GitHub Actions #346

Merged
merged 12 commits into from
Jan 8, 2021
Merged

Switch to GitHub Actions #346

merged 12 commits into from
Jan 8, 2021

Conversation

gjtorikian
Copy link
Owner

No description provided.

@gjtorikian gjtorikian changed the base branch from main to v3 January 8, 2021 09:07
@gjtorikian
Copy link
Owner Author

@gogainda It seems that truffleruby is failing to compile Nokogiri. I've removed it from this PR but you're more than welcome to open a new PR against the v3 branch to get it working.

@gjtorikian gjtorikian merged commit 1b1482d into v3 Jan 8, 2021
@gjtorikian gjtorikian deleted the migrate-to-gh-actions branch January 8, 2021 10:14
@gjtorikian gjtorikian mentioned this pull request Jan 8, 2021
@gogainda
Copy link
Contributor

gogainda commented Jan 8, 2021

@eregon I just double checked nokoigiri locally, it's installing correctly. Not sure why it's failing in GitHub Actions

@eregon
Copy link

eregon commented Jan 8, 2021

See the workflow step in oracle/truffleruby#62 (comment)
TruffleRuby needs a system libxml2-dev libxslt-dev to be installed, and that's not the default on GitHub Actions (but it was on TravisCI).

- name: Install dependencies
run: |
bundle config set --local path '../../vendor/bundle'
bundle install
Copy link

@eregon eregon Jan 8, 2021

Choose a reason for hiding this comment

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

This whole step seems unneeded, and setting the path will most likely breaks bundler caching, see https://github.com/ruby/setup-ruby/#caching-bundle-install-automatically

with:
ruby-version: 3.0
bundler-cache: true
- run: bundle install
Copy link

Choose a reason for hiding this comment

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

redundant with bundler-cache: true above

@gogainda
Copy link
Contributor

gogainda commented Jan 8, 2021

@eregon thanks, I will open a new PR to fix it

@gogainda
Copy link
Contributor

gogainda commented Jan 8, 2021

#348

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants