We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dbc0c5 commit 674cab2Copy full SHA for 674cab2
1 file changed
ci/github-actions/setup.sh
@@ -126,7 +126,16 @@ else
126
ulimit -a
127
ulimit -n 4096
128
129
-
+
130
+ if [[ "${INTEL}" == "false" ]]; then
131
+ # Ensure gmp exists for native gems (bigdecimal link step uses -lgmp)
132
+ brew install gmp
133
134
+ # Help the portable ruby toolchain find ARM Homebrew libs/headers
135
+ export CPPFLAGS="${CPPFLAGS:-} -I/opt/homebrew/include"
136
+ export LDFLAGS="${LDFLAGS:-} -L/opt/homebrew/lib"
137
+ export PKG_CONFIG_PATH="${PKG_CONFIG_PATH:-}:/opt/homebrew/lib/pkgconfig"
138
+ fi
139
elif [ "${ImageOS}" == "ubuntu22" ]; then
140
echo "Setting up Ubuntu for unit tests and Rubocop"
141
# install pipe viewer to throttle printing logs to screen (not a big deal in linux, but it is in osx)
0 commit comments