Skip to content

Commit

Permalink
Merge pull request #46 from m3m0r7/bump-ruby-3.3.0
Browse files Browse the repository at this point in the history
Bump ruby 3.3.0
  • Loading branch information
m3m0r7 authored Dec 26, 2023
2 parents f247d74 + 875b101 commit a960843
Show file tree
Hide file tree
Showing 321 changed files with 3,796 additions and 1,236 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@ on: [push]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.2', '3.3.0']
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Setup Ruby
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
uses: ruby/setup-ruby@v1.163.0
with:
ruby-version: '3.2'
ruby-version: ${{ matrix.ruby }}
- name: composer cache
uses: actions/cache@v3
with:
Expand All @@ -32,16 +35,19 @@ jobs:
./composer.phar lint:fix
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.2', '3.3.0']
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Setup Ruby
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
uses: ruby/setup-ruby@v1.163.0
with:
ruby-version: '3.2'
ruby-version: ${{ matrix.ruby }}
- name: composer cache
uses: actions/cache@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.2
3.3.0
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@


The RubyVM on PHP is implementation RubyVM written in PHP 100%.
Completely documentation not exists how to implement RubyVM and I was referred [Ruby source code](https://github.com/ruby/ruby) when contributing this project.
Completely documentation not exists how to implement RubyVM, and I was referred [Ruby source code](https://github.com/ruby/ruby) when contributing this project.

_Notice: This project is very ultra super hyper maximum experimental implementation_

_Notice: I tested Ruby version 3.2 only_
_Notice: I tested Ruby version 3.2 and 3.3 only_

### See also
- https://github.com/ruby/ruby/blob/master/compile.c
Expand Down Expand Up @@ -252,11 +252,13 @@ $ ./vendor/bin/phpunit tests/

1) Build your ruby environment from source code with `-DIBF_ISEQ_DEBUG` flag

See: https://docs.ruby-lang.org/en/master/contributing/building_ruby_md.html

```
$ git clone [email protected]:ruby/ruby.git
$ mkdir build && cd build
$ ../configure cppflags="-DIBF_ISEQ_DEBUG=1"
$ make -j16
$ make -j$(nproc)
```

2) When you built ruby environment, you will got `vm.inc` file which is wrote how to execute each INSN commands
Expand Down
Loading

0 comments on commit a960843

Please sign in to comment.