diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-11-02 23:42:20 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-01-06 20:00:53 +0900 |
commit | cd7e14da4ed7d96c4cfffa222f022f335a4e43cd (patch) | |
tree | 009d215421ae26dd6c5ef8f571ac24687ca21095 /.github/workflows | |
parent | bdd350453c30db9689064e6796f86bc483e442a8 (diff) |
Pass options for extensions via `CONFIGURE_ARGS`
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7076
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/macos.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index dd5fd9f70b..565156f396 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -58,10 +58,14 @@ jobs: run: | echo "MAKEFLAGS=-j$((1 + $(sysctl -n hw.activecpu)))" >> $GITHUB_ENV echo "PATH="/usr/local/opt/bison/bin:$PATH"" >> $GITHUB_ENV + for lib in openssl@1.1 readline; do + CONFIGURE_ARGS="${CONFIGURE_ARGS:+$CONFIGURE_ARGS }--with-${lib%@*}-dir=$(brew --prefix $lib)" + done + echo CONFIGURE_ARGS="${CONFIGURE_ARGS}" >> $GITHUB_ENV - run: ./autogen.sh working-directory: src - name: Run configure - run: ../src/configure -C --disable-install-doc --with-openssl-dir=$(brew --prefix openssl@1.1) --with-readline-dir=$(brew --prefix readline) + run: ../src/configure -C --disable-install-doc - run: make incs - run: make prepare-gems if: ${{ matrix.test_task == 'test-bundled-gems' }} |