|
13 | 13 | fmt:
|
14 | 14 | runs-on: "ubuntu-latest"
|
15 | 15 | steps:
|
16 |
| - - uses: actions/checkout@v2 |
| 16 | + - uses: actions/checkout@v3 |
17 | 17 |
|
18 | 18 | - name: Set up Python ${{ matrix.python-version }}
|
19 | 19 | uses: actions/setup-python@v2
|
|
27 | 27 | mypy:
|
28 | 28 | runs-on: "ubuntu-latest"
|
29 | 29 | steps:
|
30 |
| - - uses: actions/checkout@v2 |
| 30 | + - uses: actions/checkout@v3 |
31 | 31 |
|
32 | 32 | - name: Set up Python ${{ matrix.python-version }}
|
33 | 33 | uses: actions/setup-python@v2
|
|
41 | 41 | pytest:
|
42 | 42 | runs-on: "ubuntu-latest"
|
43 | 43 | steps:
|
44 |
| - - uses: actions/checkout@v2 |
| 44 | + - uses: actions/checkout@v3 |
45 | 45 |
|
46 | 46 | - name: Set up Python ${{ matrix.python-version }}
|
47 | 47 | uses: actions/setup-python@v2
|
|
75 | 75 | platform: { os: "windows-latest", python-architecture: "x86" }
|
76 | 76 |
|
77 | 77 | steps:
|
78 |
| - - uses: actions/checkout@v2 |
| 78 | + - uses: actions/checkout@v3 |
79 | 79 |
|
80 | 80 | - name: Set up Python ${{ matrix.python-version }}
|
81 | 81 | uses: actions/setup-python@v2
|
@@ -248,7 +248,7 @@ jobs:
|
248 | 248 | test-cross:
|
249 | 249 | runs-on: ubuntu-latest
|
250 | 250 | steps:
|
251 |
| - - uses: actions/checkout@master |
| 251 | + - uses: actions/checkout@v3 |
252 | 252 | - name: Setup python
|
253 | 253 | uses: actions/setup-python@v2
|
254 | 254 | with:
|
@@ -293,7 +293,7 @@ jobs:
|
293 | 293 | test-zigbuild:
|
294 | 294 | runs-on: ubuntu-latest
|
295 | 295 | steps:
|
296 |
| - - uses: actions/checkout@master |
| 296 | + - uses: actions/checkout@v3 |
297 | 297 | - name: Setup python
|
298 | 298 | uses: actions/setup-python@v2
|
299 | 299 | with:
|
@@ -338,3 +338,22 @@ jobs:
|
338 | 338 | pip3 install namespace_package --no-index --find-links /io/dist/ --force-reinstall
|
339 | 339 | python3 -c "from namespace_package import rust; assert rust.rust_func() == 14"
|
340 | 340 | python3 -c "from namespace_package import python; assert python.python_func() == 15"
|
| 341 | +
|
| 342 | + test-cibuildwheel: |
| 343 | + runs-on: macos-latest |
| 344 | + steps: |
| 345 | + - uses: actions/checkout@v3 |
| 346 | + - uses: actions-rs/toolchain@v1 |
| 347 | + with: |
| 348 | + profile: minimal |
| 349 | + toolchain: stable |
| 350 | + target: aarch64-apple-darwin |
| 351 | + override: true |
| 352 | + - uses: pypa/cibuildwheel@v2.3.1 |
| 353 | + env: |
| 354 | + CIBW_BUILD: cp39-* |
| 355 | + CIBW_BEFORE_BUILD: pip install -e . |
| 356 | + CIBW_ARCHS_MACOS: "x86_64 universal2 arm64" |
| 357 | + CIBW_BUILD_VERBOSITY: 1 |
| 358 | + with: |
| 359 | + package-dir: examples/namespace_package |
0 commit comments