diff options
| author | mo khan <mo.khan@gmail.com> | 2020-04-11 13:45:58 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-04-11 13:45:58 -0600 |
| commit | 1de50e8940713c9302688a77bb67468d54418648 (patch) | |
| tree | cd6ba609308f12c47657ee09da4021646262f317 /.github/workflows/ci.yml | |
| parent | b897c4412c5185a06c41db38f05b831d685836bf (diff) | |
Add build matrix
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea25f34..026a018 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,16 +1,18 @@ name: ci -on: [push] +on: [push, pull_request] jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + ruby: [ '2.4', '2.5', '2.6', '2.7' ] + name: Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@v2 with: lfs: true submodules: recursive - - name: Set up Ruby 2.6 - uses: actions/setup-ruby@v1 + - uses: actions/setup-ruby@v1 with: - ruby-version: 2.6.x - - name: Run cibuild - run: bin/cibuild + ruby-version: ${{ matrix.ruby }} + - run: ./bin/cibuild |
