Skip to content

Commit

Permalink
chore: address the suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
sansyrox committed Feb 2, 2023
1 parent 17197c6 commit e446939
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/preview-deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,11 @@ on:
jobs:
macos:
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.7"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: "3.7"
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -32,11 +29,7 @@ jobs:
uses: messense/maturin-action@v1
with:
target: x86_64
args: -i python --release --out dist
- name: Install build wheel - x86_64
run: |
pip install --force-reinstall dist/robyn*.whl
cd ~ && python -c 'import robyn'
args: -i python --release --out dist --no-sdist
- name: Build wheels - universal2
uses: messense/maturin-action@v1
with:
Expand All @@ -57,7 +50,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: "3.7"
architecture: ${{ matrix.target }}
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -80,7 +73,6 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7"]
target: [x86_64, i686]
steps:
- uses: actions/checkout@v3
Expand All @@ -92,7 +84,7 @@ jobs:
default: true
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: "3.7"
- name: Build Wheels
uses: messense/maturin-action@v1
with:
Expand All @@ -109,7 +101,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [{ version: "3.7", abi: "cp37-cp37m" }]
python: [{ abi: "cp37-cp37m" }]
target: [aarch64, armv7, s390x, ppc64le]
steps:
- uses: actions/checkout@v3
Expand All @@ -120,7 +112,7 @@ jobs:
with:
target: ${{ matrix.target }}
manylinux: auto
args: -i python3.9 --release --out dist --no-sdist
args: -i python3.7 --release --out dist --no-sdist
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit e446939

Please sign in to comment.