From 84e12d62d38c384ced02ada272850afb25a57e12 Mon Sep 17 00:00:00 2001 From: Khairul Azhar Kasmiran Date: Mon, 21 Oct 2024 18:17:57 +0800 Subject: [PATCH] Try using a Python venv --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e34b1045d..a1fc7cf5e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -435,6 +435,10 @@ jobs: brew install kadwanev/brew/retry - name: py dependencies run: | + if [ "$RUNNER_OS" == "macOS" ]; then + python3.12 -m venv .venv + source .venv/bin/activate + fi #python3 -m pip install -U pip==21.3.1 pip install meson # ==0.61.5 # https://github.com/rizinorg/cutter/runs/7170222817?check_suite_focus=true pip install setuptools @@ -453,6 +457,7 @@ jobs: shell: bash if: contains(matrix.os, 'macos') run: | + source .venv/bin/activate export MACOSX_DEPLOYMENT_TARGET=10.15 scripts/fetch_deps.sh source cutter-deps/env.sh