Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
ab86710
Initial ruby 3.3.1 for Origen, origen test passes, rubocop rules have…
priyavadan Apr 25, 2024
66982c0
disabled ruby 2.x
priyavadan Apr 25, 2024
9de76d0
check with ruby 3.3.0, 3.3.1 is not available yet on Windows
priyavadan Apr 25, 2024
5a2bed1
enabled regressions on 3.3.0
priyavadan Apr 25, 2024
2844618
make rubocop happy on windows
priyavadan Apr 25, 2024
85cc776
changed rubocop rules to align and not break the world
priyavadan Apr 25, 2024
b545c3c
missed some files in the lint check
priyavadan Apr 25, 2024
f30f61b
relaxing rubocop rules for ruby 3.3.1
priyavadan Apr 25, 2024
9b3c530
update to latest activesupport
priyavadan Apr 26, 2024
be725df
Merge remote-tracking branch 'origin/master' into feature/ruby_3_3_1
rlaj Nov 1, 2024
2e020f5
Ignore rbenv version config file
rlaj Nov 1, 2024
bbc894e
Update origen.gemspec, nokogiri = 1.17.2
rlaj Jan 7, 2025
99a7571
Update Gemfile
rlaj Jan 7, 2025
2371543
Merge remote-tracking branch 'origin/master' into feature/ruby_3_3_1
rlaj May 15, 2025
ff3ce29
Merge remote-tracking branch 'origin/master' into feature/ruby_3_3_1
rlaj Aug 11, 2025
d478301
Merge remote-tracking branch 'origin/master' into feature/ruby_3_3_1
rlaj Jan 15, 2026
cc7a9df
Update regression_tests.yml
rlaj Jan 15, 2026
9def42b
Update regression_tests.yml
rlaj Jan 15, 2026
2fc1209
Update regression_tests.yml
rlaj Jan 15, 2026
63e2bfe
Update regression_tests.yml
rlaj Jan 15, 2026
01d1eb7
Update regression_tests.yml
rlaj Jan 20, 2026
aa9de8b
Update regression_tests.yml
rlaj Jan 20, 2026
0d72fc3
Update regression_tests.yml
rlaj Jan 20, 2026
b44040b
Inital commit.. Ruby 2.6 through 4.0
Feb 8, 2026
c26df8a
fix CI setup
Feb 8, 2026
49ea59b
Try 3
Feb 8, 2026
ce24f51
lint fix
Feb 8, 2026
517f5bc
Try 4
Feb 8, 2026
00aea6a
Try 5: GA is a PITB
Feb 8, 2026
36561df
Removed 2.7 (broken), try 6
Feb 8, 2026
2de0a20
re-enable strict lint checks, hopefully works on GA, passed locally o…
Feb 8, 2026
904fa59
update
Feb 8, 2026
f2d64d4
re-enable Ruby 2.7, try #1
Feb 8, 2026
966196b
point to correct origen_testers branch
Feb 9, 2026
f19564b
revert back to original
Feb 9, 2026
ec8b7ac
setting coverall jobs to continue on error
Feb 9, 2026
e2836f8
testing this instead of putting in gemspec
Feb 9, 2026
001e28d
commit missing file
Feb 9, 2026
1963736
fix typo
Feb 9, 2026
6ee9530
fix more typos + few more gem exclusions
Feb 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 15 additions & 16 deletions .github/workflows/regression_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,36 @@ on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
ruby-version: [2.6, 2.7, 3.0.4, 3.1]
ruby-version: [2.6, 2.7, 3.0.4, 3.1, 3.3.1, 3.4.2, 4.0.0]

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

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler: '2.4.22'
- name: Update Env
run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
- name: Install Bundler
run: gem install bundler -v '2.4.22'
# Ruby 2.7 ships with RubyGems 3.1.6 which has a bug resolving transitive
# deps with required_ruby_version. Updating to 3.4.22 fixes it.
- name: Update RubyGems (Ruby 2.7 fix)
if: matrix.ruby-version == '2.7'
run: gem update --system 3.4.22
- name: Remove Gemfile.lock
run: rm Gemfile.lock
- name: Install dependencies
run: bundle install

# Work around Ruby 3 gem install issue
- name: Build Origen Gem - Ruby 3 work around
if: matrix.ruby-version == '3.0.4' || matrix.ruby-version == '3.1'
run: gem build origen.gemspec --output origen.gem
- name: Gem Install Origen - Ruby 3 work around
if: matrix.ruby-version == '3.0.4' || matrix.ruby-version == '3.1'
run: gem install origen.gem

# Normal way of installing origen
- name: Gem Install Origen Ruby 2
if: matrix.ruby-version == '2.5' || matrix.ruby-version == '2.6' || matrix.ruby-version == '2.7'
run: gem install origen
# Build and install origen from the branch source so all Ruby versions
# use the current code, not the old released gem from RubyGems.org
- name: Build and Install Origen Gem
run: gem build origen.gemspec --output origen.gem && gem install origen.gem

- name: Setup Dependencies
run: origen -v
Expand All @@ -47,6 +44,7 @@ jobs:
run: origen test -c
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2.3.4
continue-on-error: true
with:
flag-name: ${{ join(matrix.*, '-') }}
parallel: true
Expand All @@ -63,5 +61,6 @@ jobs:
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2.3.4
continue-on-error: true
with:
parallel-finished: true
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,6 @@
# Cruft from other revision control systems
.SYNC
.svn

# RBENV
.ruby-version
16 changes: 12 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ source 'https://rubygems.org'

# Development dependencies
gem 'coveralls', require: false
gem "byebug", "~>11" # Test byebug 11.x.x # will no longer support for Ruby 2.3
gem "byebug", "~>11" if RUBY_VERSION < "4" # byebug C extension doesn't compile on Ruby 4.0+
# Gems extracted from stdlib in Ruby 4.0 -- need explicit deps
if RUBY_VERSION >= '4'
gem 'fiddle', '~> 1' # needed on Windows
gem 'pstore' # needed by nanoc-core
gem 'mutex_m' # needed by activesupport 4.2
gem 'benchmark' # needed by activesupport 4.2
end
#gem "stackprof", "~>0"
gem "origen_core_support", git: "https://github.com/Origen-SDK/origen_core_support.git"
#gem "origen_core_support", path: "~/Code/github/origen_core_support"
Expand All @@ -12,11 +19,12 @@ gem "loco"
#gem "origen_testers", "~> 0.7"
gem 'origen_debuggers', '~> 0'
gem 'ripper-tags'
# gem 'nokogiri', '1.10.10' # Lock to this version to enable testing in Ruby 2.2
gem 'nokogiri', '1.13.10' # Locking to this version to support Ruby 2.6. Will update in a later release
# Let Bundler resolve the best nokogiri version for the current Ruby.
# Ruby 2.6 gets ~1.13.x, Ruby 3.0+ gets latest compatible.
# gem 'nokogiri', '1.17.2' # Pinned version breaks Ruby 2.6

# Plugins that provide guide pages
gem "origen_testers", git: "https://github.com/Origen-SDK/origen_testers.git"
gem "origen_testers", git: "https://github.com/Origen-SDK/origen_testers.git", branch: "feature/ruby_4_0"
gem "origen_sim", git: "https://github.com/Origen-SDK/origen_sim.git"

# Required to run the concurrent test case patterns from OrigenSim
Expand Down
Loading