From b500f6be5ac0c64ccf50dec15f4c949c11cf741e Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 27 Aug 2024 20:37:32 -0700 Subject: [PATCH] fix macos --- .github/workflows/openpilot.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/openpilot.yaml b/.github/workflows/openpilot.yaml index ad2c89371..c889b0c6d 100644 --- a/.github/workflows/openpilot.yaml +++ b/.github/workflows/openpilot.yaml @@ -49,11 +49,14 @@ jobs: - name: setup dependencies run: | brew install cmake bzip2 capnp qt@5 zeromq protobuf@3 gnu-tar - sudo pip3 install --no-cache-dir -r 3rdparty/opendbc_repo/requirements.txt + curl -LsSf https://astral.sh/uv/install.sh | sh + uv venv + uv pip install 3rdparty/opendbc_repo - name: build run: | export PYTHONPATH=$PWD/3rdparty # force usage of protobuf@3 instead of protobuf + source .venv/bin/activate mkdir -p build && cd build && cmake -DCMAKE_PREFIX_PATH="$(brew --prefix)/opt/protobuf@3" .. && make -j8 - name: zip plugins run: eval "$ZIP"