name: Origen Core Regression Tests
on: [push, pull_request]
jobs:
  build:
    strategy:
      matrix:
#        os: [ubuntu-latest, windows-latest]
        os: [ubuntu-latest]
        ruby-version: [2.5, 2.6, 2.7]

    runs-on: ${{ matrix.os }}

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
    - name: Update Env
      run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
    - name: Install Bundler
      run: gem install bundler -v '> 2'
    - name: Gem Install Origen 
      run: gem install origen --version 0.60.7
    - name: Install dependencies
      run: bundle install  
    - name: Setup Dependencies
      run: origen -v
    - name: Run Origen Lint
      run: origen lint --no-correct  
    - name: Set Origen to debug mode
      run: origen m debug
    - name: Run Spec tests
      run: origen test -c
    - name: Verify Building website
      run: origen web compile --no-serve

name: Origen Core Regression Tests
on: [push, pull_request]
jobs:
  build:
    strategy:
      matrix:
#        os: [ubuntu-latest, windows-latest]
        os: [ubuntu-latest]
        ruby-version: [2.5, 2.6, 2.7, 3.0, 3.1]

    runs-on: ${{ matrix.os }}

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
    - name: Update Env
      run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
    - name: Install Bundler
      run: gem install bundler -v '> 2'
    - name: Gem Install Origen 
      run: gem install origen --version 0.60.7
    - name: Install dependencies
      run: bundle install  
    - name: Setup Dependencies
      run: origen -v
    - name: Run Origen Lint
      run: origen lint --no-correct  
    - name: Set Origen to debug mode
      run: origen m debug
    - name: Run Spec tests
      run: origen test -c
    - name: Verify Building website
      run: origen web compile --no-serve

Revert "think a merge release is needed first"
Revert "think a merge release is needed first"

This reverts commit 8b5d1a8b4f8d52a7fee16611b48c9bf1744a0d0d.
