-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create GitHub Actions workflow, remove dups from Travis
- Loading branch information
Showing
3 changed files
with
59 additions
and
5 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,58 @@ | ||
name: jaro_winkler | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
name: >- | ||
${{ matrix.os }}, ${{ matrix.ruby }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ ubuntu-18.04, macos ] | ||
ruby: [ 2.2, 2.3, 2.4, 2.5, 2.6, 2.7 ] | ||
|
||
steps: | ||
- name: repo checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: setup ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
- name: bundle install | ||
run: bundle install --without benchmark --jobs 4 --retry 3 | ||
|
||
- name: test:compiled | ||
run: rake test:compiled | ||
- name: test:pure_ruby | ||
run: rake test:pure_ruby | ||
|
||
win32: | ||
name: >- | ||
${{ matrix.os }}, ${{ matrix.ruby }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ windows-latest ] | ||
ruby: [ 2.2, 2.3, 2.4, 2.5, 2.6, 2.7 ] | ||
|
||
steps: | ||
- name: repo checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: setup Ruby, update MSYS2 gcc | ||
uses: MSP-Greg/actions-ruby@v1 | ||
with: | ||
base: update | ||
ruby-version: ${{ matrix.ruby }} | ||
|
||
- name: bundle install | ||
run: bundle install --without benchmark --jobs 4 --retry 3 | ||
|
||
- name: test:compiled | ||
run: rake test:compiled | ||
- name: test:pure_ruby | ||
run: rake test:pure_ruby |
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 |
---|---|---|
|
@@ -7,10 +7,6 @@ os: | |
- linux | ||
- osx | ||
rvm: | ||
- 2.5.0 | ||
- 2.4.3 | ||
- 2.3.5 | ||
- 2.2.9 | ||
- 2.1.10 | ||
- 2.0.0 | ||
- 1.9.3 | ||
|
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