Skip to content

Commit fa66a6b

Browse files
MSP-Gregeregon
authored andcommitted
Add --enable-yjit config option, test for success
1 parent e7ace0e commit fa66a6b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,15 @@ jobs:
100100
- run: chmod 755 $HOME # https://github.com/actions/virtual-environments/issues/267
101101
- run: mkdir -p ~/.rubies
102102
- run: ./autogen.sh
103-
- run: ./configure --prefix=$HOME/.rubies/ruby-${{ matrix.name }} --enable-shared --disable-install-doc
103+
- run: ./configure --prefix=$HOME/.rubies/ruby-${{ matrix.name }} --enable-shared --disable-install-doc --enable-yjit
104104
if: startsWith(matrix.os, 'ubuntu')
105-
- run: ./configure --prefix=$HOME/.rubies/ruby-${{ matrix.name }} --enable-shared --disable-install-doc --with-openssl-dir=$(brew --prefix [email protected]) --with-readline-dir=$(brew --prefix readline)
105+
- run: ./configure --prefix=$HOME/.rubies/ruby-${{ matrix.name }} --enable-shared --disable-install-doc --enable-yjit --with-openssl-dir=$(brew --prefix [email protected]) --with-readline-dir=$(brew --prefix readline)
106106
if: startsWith(matrix.os, 'macos')
107107
- run: make -j4
108108
- run: make install
109109

110+
- run: ruby --yjit -e 'exit RubyVM::YJIT.enabled?'
111+
110112
- name: Create archive
111113
run: tar czf ruby-${{ matrix.name }}-${{ steps.platform.outputs.platform }}.tar.gz -C ~/.rubies ruby-${{ matrix.name }}
112114

0 commit comments

Comments
 (0)