From 2d28148d05f2a0b2a486c1830561037dc39d545c Mon Sep 17 00:00:00 2001 From: Benjamin Bolte Date: Thu, 31 Oct 2024 23:43:20 -0700 Subject: [PATCH] stuff --- .github/workflows/publish.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 51c8122..aab9542 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -38,6 +38,15 @@ jobs: - name: Install dependencies run: | + if [ "${{ runner.os }}" == "Linux" ]; then + sudo apt-get update + sudo apt-get install -y libudev-dev pkg-config + elif [ "${{ runner.os }}" == "macOS" ]; then + brew install libudev pkg-config + else + echo "Unsupported OS: ${{ runner.os }}" + exit 1 + fi python -m pip install --upgrade pip pip install cibuildwheel shell: bash