Skip to content

Commit

Permalink
Build Ruby with --enable-shared to get libruby too
Browse files Browse the repository at this point in the history
* Some use cases require libruby, such as
  ruby/setup-ruby#43
  • Loading branch information
eregon committed Mar 29, 2020
1 parent d62a088 commit 444e733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ jobs:
- run: chmod 755 $HOME # https://github.com/actions/virtual-environments/issues/267
- run: mkdir -p ~/.rubies
- run: autoconf
- run: ./configure --prefix=$HOME/.rubies/ruby-head --disable-install-doc
- run: ./configure --prefix=$HOME/.rubies/ruby-head --enable-shared --disable-install-doc
if: startsWith(matrix.os, 'ubuntu')
- run: ./configure --prefix=$HOME/.rubies/ruby-head --disable-install-doc --with-openssl-dir=$(brew --prefix [email protected]) --with-readline-dir=$(brew --prefix readline)
- run: ./configure --prefix=$HOME/.rubies/ruby-head --enable-shared --disable-install-doc --with-openssl-dir=$(brew --prefix [email protected]) --with-readline-dir=$(brew --prefix readline)
if: matrix.os == 'macos-latest'
- run: make -j4
- run: make install
Expand Down

0 comments on commit 444e733

Please sign in to comment.