Sha256: 4a3bac80accf38f684c5957c0aad733ac2d09f73e2857790747b7c2b85f483c2

Contents?: true

Size: 1.32 KB

Versions: 50

Compression:

Stored size: 1.32 KB

Contents

name: stress

on:
  workflow_dispatch:

concurrency:
  group: '${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name }}'
  cancel-in-progress: true

env:
  BUNDLER_VER: 2.4.22
  GC_STRESS: true

jobs:
  rake:
    name: test on ruby-${{ matrix.ruby }} ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '3.2', '3.1', '3.0', '2.7' ]
        os: [ ubuntu-latest, windows-latest, macos-latest ]

    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          submodules: recursive

      - name: Setup packages
        if: startsWith(matrix.os, 'macos')
        run: brew install autoconf automake libtool

      - name: Install Ruby
        uses: ruby/setup-ruby@master
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler: ${{ env.BUNDLER_VER }}
          # Rice gem has issues with bundler cache
          # more info https://github.com/lutaml/expressir/runs/2097658383?check_suite_focus=true#step:7:2126
          # but it is not the only issue
          bundler-cache: false

      - name: Bundle
        run: bundle install --jobs 4 --retry 3

      - name: Build native extension
        run: bundle exec rake compile

      - name: Run tests
        run: |
          bundle exec rake
          cat .rspec_status

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
expressir-1.4.0-x86_64-linux-gnu .github/workflows/stress.yml
expressir-1.4.0-x86_64-darwin .github/workflows/stress.yml
expressir-1.4.0-x64-mingw32 .github/workflows/stress.yml
expressir-1.4.0-x64-mingw-ucrt .github/workflows/stress.yml
expressir-1.4.0-arm64-darwin .github/workflows/stress.yml
expressir-1.4.0-aarch64-linux-musl .github/workflows/stress.yml
expressir-1.4.0-aarch64-linux-gnu .github/workflows/stress.yml
expressir-1.3.3 .github/workflows/stress.yml
expressir-1.3.3-x86_64-linux-musl .github/workflows/stress.yml
expressir-1.3.3-x86_64-linux-gnu .github/workflows/stress.yml
expressir-1.3.3-x86_64-darwin .github/workflows/stress.yml
expressir-1.3.3-x64-mingw32 .github/workflows/stress.yml
expressir-1.3.3-x64-mingw-ucrt .github/workflows/stress.yml
expressir-1.3.3-arm64-darwin .github/workflows/stress.yml
expressir-1.3.3-aarch64-linux-musl .github/workflows/stress.yml
expressir-1.3.3-aarch64-linux-gnu .github/workflows/stress.yml
expressir-1.3.2 .github/workflows/stress.yml
expressir-1.3.2-x86_64-linux-gnu .github/workflows/stress.yml
expressir-1.3.2-x86_64-darwin .github/workflows/stress.yml
expressir-1.3.2-x64-mingw32 .github/workflows/stress.yml