Sha256: 1cb426c3fa33d65d280294ad5a2f164cc400dbcbf5ebceef7280fc56039ccc6c

Contents?: true

Size: 1.44 KB

Versions: 14

Compression:

Stored size: 1.44 KB

Contents

name: rake

on:
  push:
    branches: [ master ]
  pull_request:

jobs:
  rake:
    name: test on ruby-${{ matrix.ruby }} ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    continue-on-error: ${{ matrix.experimental }}
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '2.7', '2.6', '2.5', '2.4' ]
        os: [ ubuntu-latest, windows-latest, macos-latest ]
        experimental: [ false ]
        include:
          - ruby: '3.0'
            os: 'ubuntu-latest'
            experimental: true
          - ruby: '3.0'
            os: 'windows-latest'
            experimental: true
          - ruby: '3.0'
            os: 'macos-latest'
            experimental: true

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

      - if: matrix.os == 'macos-latest'
        run: brew install autoconf automake libtool

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true

      - uses: actions/cache@v2
        with:
          path: lib/expressir/express_exp/express_parser.*
          key: v3-${{ runner.os }}-${{ matrix.ruby }}-${{ hashFiles('ext/express-parser/extconf.rb', 'ext/express-parser/antlrgen/**', 'ext/express-parser/express_parser.cpp', '.git/modules/ext/express-parser/antlr4-upstream/HEAD') }}

      - if: hashFiles('lib/expressir/express_exp/express_parser.*') == ''
        run: bundle exec rake compile

      - run: bundle exec rake

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
expressir-0.2.27 .github/workflows/rake.yml
expressir-0.2.27-x86_64-linux .github/workflows/rake.yml
expressir-0.2.27-x86_64-darwin .github/workflows/rake.yml
expressir-0.2.27-x86-mingw32 .github/workflows/rake.yml
expressir-0.2.27-x86-linux .github/workflows/rake.yml
expressir-0.2.27-x64-mingw32 .github/workflows/rake.yml
expressir-0.2.27-arm64-darwin .github/workflows/rake.yml
expressir-0.2.26 .github/workflows/rake.yml
expressir-0.2.26-x86_64-linux .github/workflows/rake.yml
expressir-0.2.26-x86_64-darwin .github/workflows/rake.yml
expressir-0.2.26-x86-mingw32 .github/workflows/rake.yml
expressir-0.2.26-x86-linux .github/workflows/rake.yml
expressir-0.2.26-x64-mingw32 .github/workflows/rake.yml
expressir-0.2.26-arm64-darwin .github/workflows/rake.yml