From 8545e28d094a62d0506663b53463b3010afcef9c Mon Sep 17 00:00:00 2001 From: nirenjan Date: Thu, 15 Jul 2021 19:31:46 -0700 Subject: [PATCH] Build and install inih manually on macOS --- .github/scripts/install-dependencies-macos.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/scripts/install-dependencies-macos.sh b/.github/scripts/install-dependencies-macos.sh index d3784af..7fcbcc8 100755 --- a/.github/scripts/install-dependencies-macos.sh +++ b/.github/scripts/install-dependencies-macos.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x # Install dependencies to build and test on Ubuntu runners brew install \ autoconf \ @@ -9,9 +9,17 @@ brew install \ gettext \ libusb \ hidapi \ - inih \ doxygen \ rsync \ + meson \ cmocka +# inih cannot be installed via Homebrew, install it manually +INIH_VER=r53 +curl -LO https://github.com/benhoyt/inih/archive/refs/tags/${INIH_VER}.tar.gz +tar xvf ${INIH_VER}.tar.gz +cd inih-${INIH_VER} +meson build +meson install -C build + exit 0