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