-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from casperisfine/github-actions
Migrate to GitHub actions and fixes various issues
- Loading branch information
Showing
6 changed files
with
78 additions
and
97 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
ubuntu: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: [ '3.0', '2.7', '2.6', '2.5', 'jruby', 'truffleruby' ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Install Node | ||
run: sudo apt-get install -y nodejs | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
- name: Update Rubygems | ||
run: gem update --system | ||
- name: Install bundler | ||
run: gem install bundler -v '2.2.16' | ||
- name: Install dependencies | ||
run: bundle install | ||
- name: Run test | ||
run: rake | ||
- name: Install gem | ||
run: rake install | ||
macos: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: [ '3.0', '2.7', '2.6', '2.5' ] | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
- name: Update Rubygems | ||
run: gem update --system | ||
- name: Install bundler | ||
run: gem install bundler -v '2.2.16' | ||
- name: Install dependencies | ||
run: bundle install | ||
- name: Run test | ||
run: rake | ||
- name: Install gem | ||
run: rake install |
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,5 @@ | |
this.process = __process__; | ||
print(JSON.stringify(['err', '' + err, err.stack])); | ||
} | ||
__process__.exit(0); | ||
}); |
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