Separate setup and execution steps in CI #116
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TruffleRuby | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
truffleruby: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: truffleruby-head | |
bundler-cache: true | |
- name: Test installing the gem on TruffleRuby | |
run: | | |
bundle exec rake compile | |
bundle exec rake build | |
gem install pkg/debug-*.gem |