Skip to content

Commit 6076bde

Browse files
committed
chore: address the suggestions
1 parent 17197c6 commit 6076bde

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

.github/workflows/preview-deployments.yml

+8-17
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,11 @@ on:
1313
jobs:
1414
macos:
1515
runs-on: macos-latest
16-
strategy:
17-
matrix:
18-
python-version: ["3.7"]
1916
steps:
2017
- uses: actions/checkout@v3
2118
- uses: actions/setup-python@v4
2219
with:
23-
python-version: ${{ matrix.python-version }}
20+
python-version: "3.7"
2421
- name: Install Rust toolchain
2522
uses: actions-rs/toolchain@v1
2623
with:
@@ -32,11 +29,7 @@ jobs:
3229
uses: messense/maturin-action@v1
3330
with:
3431
target: x86_64
35-
args: -i python --release --out dist
36-
- name: Install build wheel - x86_64
37-
run: |
38-
pip install --force-reinstall dist/robyn*.whl
39-
cd ~ && python -c 'import robyn'
32+
args: -i python --release --out dist --no-sdist
4033
- name: Build wheels - universal2
4134
uses: messense/maturin-action@v1
4235
with:
@@ -51,13 +44,12 @@ jobs:
5144
runs-on: windows-latest
5245
strategy:
5346
matrix:
54-
python-version: ["3.7"]
5547
target: [x64, x86]
5648
steps:
5749
- uses: actions/checkout@v3
5850
- uses: actions/setup-python@v4
5951
with:
60-
python-version: ${{ matrix.python-version }}
52+
python-version: "3.7"
6153
architecture: ${{ matrix.target }}
6254
- name: Install Rust toolchain
6355
uses: actions-rs/toolchain@v1
@@ -69,7 +61,7 @@ jobs:
6961
uses: messense/maturin-action@v1
7062
with:
7163
target: ${{ matrix.target }}
72-
args: -i python --release --out dist --no-sdist
64+
args: -i python3.7 --release --out dist --no-sdist
7365
- name: Upload wheels
7466
uses: actions/upload-artifact@v3
7567
with:
@@ -80,7 +72,6 @@ jobs:
8072
runs-on: ubuntu-latest
8173
strategy:
8274
matrix:
83-
python-version: ["3.7"]
8475
target: [x86_64, i686]
8576
steps:
8677
- uses: actions/checkout@v3
@@ -92,13 +83,13 @@ jobs:
9283
default: true
9384
- uses: actions/setup-python@v4
9485
with:
95-
python-version: ${{ matrix.python-version }}
86+
python-version: "3.7"
9687
- name: Build Wheels
9788
uses: messense/maturin-action@v1
9889
with:
9990
target: ${{ matrix.target }}
10091
manylinux: auto
101-
args: -i python${{ matrix.python-version }} --release --out dist --no-sdist
92+
args: -i python3.7 --out dist --no-sdist
10293
- name: Upload wheels
10394
uses: actions/upload-artifact@v3
10495
with:
@@ -109,7 +100,7 @@ jobs:
109100
runs-on: ubuntu-latest
110101
strategy:
111102
matrix:
112-
python: [{ version: "3.7", abi: "cp37-cp37m" }]
103+
python: [{ abi: "cp37-cp37m" }]
113104
target: [aarch64, armv7, s390x, ppc64le]
114105
steps:
115106
- uses: actions/checkout@v3
@@ -120,7 +111,7 @@ jobs:
120111
with:
121112
target: ${{ matrix.target }}
122113
manylinux: auto
123-
args: -i python3.9 --release --out dist --no-sdist
114+
args: -i python3.7 --release --out dist --no-sdist
124115
- name: Upload wheels
125116
uses: actions/upload-artifact@v3
126117
with:

0 commit comments

Comments
 (0)