Sha256: 781a1120e7538d0cb0c519124c2c064c35ae344b94a41dccc3aa8c31acbaafd7

Contents?: true

Size: 1.15 KB

Versions: 4

Compression:

Stored size: 1.15 KB

Contents

on:
  pull_request:
    branches:
      - master
  push:
    branches:
      - master

jobs:
  build:
    name: Ruby ${{ matrix.ruby }} / GCC ${{ matrix.gcc }} / ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os:
          - ubuntu-latest
          - macos-latest
        ruby:
          - '2.5'
          - '2.6'
          - '2.7'
          - '3.0'
          - '3.1'
          - 'jruby'
        gcc:
          - 7
          - latest
        exclude:
          - os: macos-latest
            gcc: 7

    steps:
      - uses: actions/checkout@v2
        with:
          submodules: recursive

      - name: Set up GCC
        if: ${{ matrix.gcc != 'latest' }}
        uses: egor-tensin/setup-gcc@v1
        with:
          version: ${{ matrix.gcc }}
          platform: x64

      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
          cache-version: 1_${{ matrix.ruby }}_${{ matrix.os }}

      - name: Run Tests
        env:
          RAILS_ENV: test
          SPAWN_ZOOKEEPER: true
        run: |
          bundle exec rake

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
zookeeper-1.5.3 .github/workflows/build.yml
zookeeper-1.5.3-java .github/workflows/build.yml
zookeeper-ng-1.5.2.1 .github/workflows/build.yml
zookeeper-ng-1.5.2.1-java .github/workflows/build.yml