Skip to content

Commit 3bed4bc

Browse files
committed
macos
1 parent 0822d2f commit 3bed4bc

File tree

1 file changed

+25
-32
lines changed

1 file changed

+25
-32
lines changed

.github/workflows/maturin.yml

Lines changed: 25 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@ jobs:
1717
platform:
1818
- runner: ubuntu-22.04
1919
target: x86_64
20-
- runner: ubuntu-22.04
21-
target: x86
22-
- runner: ubuntu-22.04
23-
target: aarch64
24-
- runner: ubuntu-22.04
25-
target: armv7
2620
steps:
2721
- uses: actions/checkout@v4
2822
- uses: actions/setup-python@v5
@@ -36,8 +30,7 @@ jobs:
3630
manylinux: 2_28
3731
before-script-linux: |
3832
set -ex
39-
dnf install -y epel-release
40-
dnf update -y
33+
dnf install -y epel-release && dnf update -y
4134
dnf install -y gcc gcc-c++ make perl curl openssl-devel pkgconfig clang xz-devel
4235
export OPENSSL_LIB_DIR=$(pkg-config --variable=libdir openssl)
4336
export OPENSSL_INCLUDE_DIR=$(pkg-config --variable=includedir openssl)
@@ -53,30 +46,30 @@ jobs:
5346
name: wheels-linux-${{ matrix.platform.target }}
5447
path: dist
5548

56-
# macos:
57-
# runs-on: ${{ matrix.platform.runner }}
58-
# strategy:
59-
# matrix:
60-
# platform:
61-
# - runner: macos-13
62-
# target: x86_64
63-
# - runner: macos-14
64-
# target: aarch64
65-
# steps:
66-
# - uses: actions/checkout@v4
67-
# - uses: actions/setup-python@v5
68-
# with:
69-
# python-version: 3.x
70-
# - name: Build wheels
71-
# uses: PyO3/maturin-action@v1
72-
# with:
73-
# target: ${{ matrix.platform.target }}
74-
# args: --release --out dist --find-interpreter
75-
# - name: Upload wheels
76-
# uses: actions/upload-artifact@v4
77-
# with:
78-
# name: wheels-macos-${{ matrix.platform.target }}
79-
# path: dist
49+
macos:
50+
runs-on: ${{ matrix.platform.runner }}
51+
strategy:
52+
matrix:
53+
platform:
54+
- runner: macos-13
55+
target: x86_64
56+
- runner: macos-14
57+
target: aarch64
58+
steps:
59+
- uses: actions/checkout@v4
60+
- uses: actions/setup-python@v5
61+
with:
62+
python-version: 3.x
63+
- name: Build wheels
64+
uses: PyO3/maturin-action@v1
65+
with:
66+
target: ${{ matrix.platform.target }}
67+
args: --release --out dist --find-interpreter
68+
- name: Upload wheels
69+
uses: actions/upload-artifact@v4
70+
with:
71+
name: wheels-macos-${{ matrix.platform.target }}
72+
path: dist
8073

8174
# sdist:
8275
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)