Skip to content

Commit 9d114b4

Browse files
committed
try new release
1 parent 23474f5 commit 9d114b4

File tree

7 files changed

+2035
-1941
lines changed

7 files changed

+2035
-1941
lines changed

.github/workflows/CI.yml

Lines changed: 51 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,61 @@ permissions:
1414
contents: read
1515

1616
jobs:
17+
# linux:
18+
# runs-on: ubuntu-latest
19+
# if: "startsWith(github.ref, 'refs/tags/')"
20+
# strategy:
21+
# matrix:
22+
# target: [x86_64]
23+
# steps:
24+
# - uses: actions/checkout@v2
25+
# - uses: actions/setup-python@v2
26+
# with:
27+
# python-version: 3.9
28+
# architecture: x64
29+
# - name: Make wheel
30+
# run: |
31+
# sudo docker build -t flatterer-anylinux .
32+
# sudo docker run -v $(pwd):/io flatterer-anylinux build -f --release --out dist
33+
# - name: Upload wheels
34+
# uses: actions/upload-artifact@v4
35+
# with:
36+
# name: wheels-linux-x86_64
37+
# path: dist
1738
linux:
18-
runs-on: ubuntu-latest
19-
if: "startsWith(github.ref, 'refs/tags/')"
39+
runs-on: ${{ matrix.platform.runner }}
2040
strategy:
2141
matrix:
22-
target: [x86_64]
42+
platform:
43+
- runner: ubuntu-22.04
44+
target: x86_64
45+
- runner: ubuntu-22.04
46+
target: x86
47+
- runner: ubuntu-22.04
48+
target: aarch64
49+
- runner: ubuntu-22.04
50+
target: armv7
51+
- runner: ubuntu-22.04
52+
target: s390x
53+
- runner: ubuntu-22.04
54+
target: ppc64le
2355
steps:
24-
- uses: actions/checkout@v2
25-
- uses: actions/setup-python@v2
26-
with:
27-
python-version: 3.9
28-
architecture: x64
29-
- name: Make wheel
30-
run: |
31-
sudo docker build -t flatterer-anylinux .
32-
sudo docker run -v $(pwd):/io flatterer-anylinux build -f --release --out dist
33-
- name: Upload wheels
34-
uses: actions/upload-artifact@v4
35-
with:
36-
name: wheels-linux-x86_64
37-
path: dist
38-
39-
56+
- uses: actions/checkout@v4
57+
- uses: actions/setup-python@v5
58+
with:
59+
python-version: 3.x
60+
- name: Build wheels
61+
uses: PyO3/maturin-action@v1
62+
with:
63+
target: ${{ matrix.platform.target }}
64+
args: --release --out dist --find-interpreter
65+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
66+
manylinux: auto
67+
- name: Upload wheels
68+
uses: actions/upload-artifact@v4
69+
with:
70+
name: wheels-linux-${{ matrix.platform.target }}
71+
path: dist
4072

4173
windows:
4274
runs-on: ${{ matrix.platform.runner }}

0 commit comments

Comments
 (0)