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 d8d1eed commit 03c8d69
Showing 1 changed file with 3 additions and 30 deletions.
33 changes: 3 additions & 30 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-latest
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
Expand All @@ -20,36 +20,10 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install common dependencies
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install pkg-config
- name: Install dependencies for x86_64 and x86
if: matrix.target == 'x86_64' || matrix.target == 'x86'
run: sudo apt-get install libssl-dev

- name: Install dependencies for aarch64
if: matrix.target == 'aarch64'
run: sudo apt-get install libssl-dev:arm64

- name: Install dependencies for armv7
if: matrix.target == 'armv7'
run: sudo apt-get install libssl-dev:armhf

- name: Install dependencies for s390x
if: matrix.target == 's390x'
run: sudo apt-get install libssl-dev:s390x

- name: Install dependencies for ppc64le
if: matrix.target == 'ppc64le'
run: sudo apt-get install libssl-dev:ppc64el

- name: Set environment variables for OpenSSL (if necessary)
run: |
echo "OPENSSL_DIR=/usr/include/openssl" >> $GITHUB_ENV
if: matrix.target == 'ppc64le'
sudo apt-get install libudev-dev libssl-dev pkg-config
- name: Build wheels
uses: PyO3/maturin-action@v1
Expand All @@ -58,7 +32,6 @@ jobs:
args: --release --out dist --find-interpreter
sccache: "true"
manylinux: auto

- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 03c8d69

Please sign in to comment.