Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Mng-dev-ai committed Nov 23, 2023
1 parent 03c8d69 commit 6b23aa5
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
linux:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
Expand All @@ -23,7 +23,19 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libudev-dev libssl-dev pkg-config
sudo apt-get install libssl-dev pkg-config
- name: Set PKG_CONFIG_PATH
run: |
OPENSSL_PC_PATH=$(find /usr -name 'openssl.pc')
if [ -n "$OPENSSL_PC_PATH" ]; then
PKG_CONFIG_DIR=$(dirname "$OPENSSL_PC_PATH")
echo "PKG_CONFIG_PATH set to $PKG_CONFIG_DIR"
export PKG_CONFIG_PATH=$PKG_CONFIG_DIR
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >> $GITHUB_ENV
else
echo "openssl.pc not found"
fi
- name: Build wheels
uses: PyO3/maturin-action@v1
Expand Down

0 comments on commit 6b23aa5

Please sign in to comment.