blob: 896930de84d1617e2727455c56f9c1cebdcc534e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
name: Setup macOS environment
description: >-
Installs necessary packages via Homebrew.
inputs: {} # nothing?
outputs: {} # nothing?
runs:
using: composite
steps:
- name: brew
shell: bash
run: |
brew install --quiet gmp libffi openssl@1.1 zlib autoconf automake libtool
- name: Set ENV
shell: bash
run: |
for lib in openssl@1.1 gmp; do
CONFIGURE_ARGS="${CONFIGURE_ARGS:+$CONFIGURE_ARGS }--with-${lib%@*}-dir=$(brew --prefix $lib)"
done
echo CONFIGURE_ARGS="${CONFIGURE_ARGS}" >> $GITHUB_ENV
|