macos: set configure options in the compsite action
This commit is contained in:
parent
cceb410087
commit
46fe9ba0f5
Notes:
git
2023-07-08 02:31:37 +00:00
8
.github/actions/setup/macos/action.yml
vendored
8
.github/actions/setup/macos/action.yml
vendored
@ -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
.github/workflows/macos.yml
vendored
7
.github/workflows/macos.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user