Sha256: c58bedb034ccb831d744dae3ac70ebaa4b60db45c59d08fe8bb08e888d9ae0ab

Contents?: true

Size: 1.83 KB

Versions: 4

Compression:

Stored size: 1.83 KB

Contents

# Auto-generated by Cimas: Do not edit it manually!
# See https://github.com/metanorma/cimas
name: rake

on:
  push:
    branches: [ master, main ]
    tags: [ v* ]
  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.6', '2.5', '2.4' ]
        os: [ ubuntu-latest, windows-latest, macos-latest ]
        experimental: [ false ]
        include:
          - ruby: '2.7'
            os: 'ubuntu-latest'
            experimental: true
          - ruby: '2.7'
            os: 'windows-latest'
            experimental: true
          - ruby: '2.7'
            os: 'macos-latest'
            experimental: true
    steps:
      - uses: actions/checkout@master

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

      - uses: actions/cache@v2
        with:
          path: vendor/bundle
          key: bundle-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}
          restore-keys: bundle-${{ matrix.os }}-${{ matrix.ruby }}

      - run: bundle config set path 'vendor/bundle'

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

      - name: Install Inkscape macOS
        if: matrix.os == 'macos-latest'
        run: |
          brew cask install inkscape
          inkscape --version

      - name: Install Inkscape Ubuntu
        if: matrix.os == 'ubuntu-latest'
        run: |
          sudo add-apt-repository ppa:inkscape.dev/stable
          sudo apt update
          sudo apt install inkscape
          inkscape --version

      - name: Install Inkscape Windows
        if: matrix.os == 'windows-latest'
        run: |
          choco install --no-progress -y inkscape
          inkscape --version

      - run: bundle exec rake

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
isodoc-1.4.1 .github/workflows/rake.yml
isodoc-1.4.0 .github/workflows/rake.yml
isodoc-1.3.1 .github/workflows/rake.yml
isodoc-1.3.0 .github/workflows/rake.yml