Skip to content

Commit

Permalink
macos: set configure options in the compsite action
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jul 8, 2023
1 parent cceb410 commit 46fe9ba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .github/actions/setup/macos/action.yml
Expand Up @@ -15,3 +15,11 @@ runs:
run: |
brew upgrade --quiet
brew install --quiet gmp libffi openssl@1.1 zlib autoconf automake libtool readline
- name: Set ENV
shell: bash
run: |
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
7 changes: 0 additions & 7 deletions .github/workflows/macos.yml
Expand Up @@ -61,13 +61,6 @@ jobs:
builddir: build
makeup: true

- name: Set ENV
run: |
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
- name: Run configure
run: ../src/configure -C --disable-install-doc

Expand Down

0 comments on commit 46fe9ba

Please sign in to comment.