Use readline for github action macOS Homebrew

Update github action to use readline keg and not the default libedit under Homebrew
This commit is contained in:
mcuee 2022-10-24 08:50:57 +08:00 committed by GitHub
parent 79c43789a9
commit 5862a5b7e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -161,6 +161,7 @@ jobs:
libusb
hidapi
libftdi
readline
- name: Configure
run: >-
cmake
@ -168,6 +169,7 @@ jobs:
-D CMAKE_EXE_LINKER_FLAGS=-L/usr/local/Cellar
-D DEBUG_CMAKE=1
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-D HAVE_LIBREADLINE:FILEPATH=/usr/local/opt/readline/lib/libreadline.dylib
-B build
- name: Build
run: cmake --build build