summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-09-15 14:13:00 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-09-26 17:48:01 +0900
commitba8fb735cb3151ce48e388878da0565119222e95 (patch)
treedca002b438b09b82e2f7b0f7ecedd41424f0734a /.github
parent01c90f17d974c002c054ff2d82ec3982b665b01a (diff)
[rubygems/rubygems] Added rvm workflow for Ruby 2.2 and 2.7
https://github.com/rubygems/rubygems/commit/d4ba75dfd2
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ubuntu-rvm.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu-rvm.yml b/.github/workflows/ubuntu-rvm.yml
new file mode 100644
index 0000000000..fd5218ec02
--- /dev/null
+++ b/.github/workflows/ubuntu-rvm.yml
@@ -0,0 +1,34 @@
+name: ubuntu-rvm
+
+on: [push]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ ruby: [ 'ruby-head', '2.2.10' ]
+ test_tool: [ "rubygems", "bundler" ]
+ steps:
+ - uses: actions/checkout@master
+ - run: git submodule update -i
+ - name: Set up RVM
+ run: |
+ curl -sSL https://get.rvm.io | bash
+ - name: Set up Ruby
+ run: |
+ source $HOME/.rvm/scripts/rvm
+ rvm install ${{ matrix.ruby }} --binary
+ rvm --default use ${{ matrix.ruby }}
+ - name: Install dependencies
+ run: |
+ source $HOME/.rvm/scripts/rvm
+ util/ci.sh before_script
+ env:
+ TEST_TOOL: ${{ matrix.test_tool }}
+ - name: Run test
+ run: |
+ source $HOME/.rvm/scripts/rvm
+ util/ci.sh script
+ env:
+ TEST_TOOL: ${{ matrix.test_tool }}