Sha256: 83ff7ade469a66aaf053ea95ebd3d45e476a15088e6a20595d2848bdeb9cc2f0

Contents?: true

Size: 1.51 KB

Versions: 2

Compression:

Stored size: 1.51 KB

Contents

name: CI

on:
  push:
    branches: [master,v1]
  pull_request:
    branches: [master,v1]
  workflow_dispatch:

jobs:
  build:
    name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
    runs-on: ${{ matrix.operating-system }}
    continue-on-error: ${{ matrix.experimental == 'Yes' }}
    env: { JAVA_OPTS: -Djdk.io.File.enableADS=true }

    strategy:
      fail-fast: false
      matrix:
        # Only the latest versions of JRuby and TruffleRuby are tested
        ruby: ["3.0", "3.1", "3.2", "3.3", "truffleruby-24.0.0", "jruby-9.4.5.0"]
        operating-system: [ubuntu-latest]
        experimental: [No]
        include:
          - # Building against head version of Ruby is considered experimental
            ruby: head
            operating-system: ubuntu-latest
            experimental: Yes

          - # Only test with minimal Ruby version on Windows
            ruby: 3.0
            operating-system: windows-latest

          - # Since JRuby on Windows is known to not work, consider this experimental
            ruby: jruby-9.4.5.0
            operating-system: windows-latest
            experimental: Yes

    steps:
      - name: Checkout Code
        uses: actions/checkout@v4

      - name: Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true # runs 'bundle install' and caches installed gems automatically

      - name: Run Build
        run: bundle exec rake default

      - name: Test Gem
        run: bundle exec rake test:gem

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
git-2.0.0.pre3 .github/workflows/continuous_integration.yml
git-2.0.0.pre2 .github/workflows/continuous_integration.yml