From 3e00f98f023b8508a5e787fdfda9d53f0dab5b05 Mon Sep 17 00:00:00 2001 From: Yashas Ambati Date: Wed, 26 Feb 2025 00:20:13 -0500 Subject: [PATCH] Fix install rules for macOS support --- .github/workflows/build-cibw.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-cibw.yml b/.github/workflows/build-cibw.yml index 1c9e47f28..450b2fc61 100644 --- a/.github/workflows/build-cibw.yml +++ b/.github/workflows/build-cibw.yml @@ -76,8 +76,15 @@ jobs: - name: Install Dependencies run: | - sudo apt-get install -y wget libicu-dev python3-pip python3-setuptools libboost-all-dev ninja-build python3 -m pip install -r python/dev_requirements.txt + if [ "$RUNNER_OS" == "Linux" ]; then + sudo apt-get install -y wget libicu-dev python3-pip python3-setuptools libboost-all-dev ninja-build + elif [ "$RUNNER_OS" == "macOS" ]; then + brew install wget icu4c boost ninja python-setuptools + else + echo "$RUNNER_OS not supported" + exit 1 + fi - name: Run CMake run: |