Skip to content

Commit

Permalink
thing
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Nov 1, 2024
1 parent ab8e668 commit 196ebee
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,15 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install cibuildwheel
if [ "${{ runner.os }}" == "Linux" ]; then
sudo apt-get install -y libudev-dev pkg-config
elif [ "${{ runner.os }}" == "macOS" ]; then
brew install openssl pkg-config
else
echo "Unsupported OS: ${{ runner.os }}"
exit 1
fi
shell: bash

- name: Build package
env:
CIBW_SKIP: "pp* *-musllinux*" # Skip PyPy and musllinux builds
CIBW_BEFORE_ALL_LINUX: |
yum install -y libudev-devel pkgconfig
CIBW_BEFORE_ALL_MACOS: |
brew install openssl pkg-config
CIBW_BEFORE_BUILD: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
Expand Down

0 comments on commit 196ebee

Please sign in to comment.