Skip to content

Commit ec90fbd

Browse files
committed
Test arm64 workflow
1 parent e3c3c2a commit ec90fbd

File tree

2 files changed

+4
-97
lines changed

2 files changed

+4
-97
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ on:
44
push:
55
branches:
66
- main
7-
release:
8-
types: [published]
7+
- test-arm64
98

109
permissions:
1110
contents: read
@@ -16,7 +15,7 @@ jobs:
1615
runs-on: ${{ matrix.os }}
1716
strategy:
1817
matrix:
19-
os: [ubuntu-latest, windows-latest, macos-13]
18+
os: [ubuntu-24.04-arm]
2019

2120
steps:
2221
- uses: actions/checkout@v4
@@ -34,42 +33,5 @@ jobs:
3433
- name: Build wheels
3534
run: python -m cibuildwheel
3635

37-
- uses: actions/upload-artifact@v4
38-
with:
39-
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
40-
path: ./wheelhouse/*.whl
41-
42-
build_sdist:
43-
name: Build source distribution
44-
runs-on: ubuntu-latest
45-
steps:
46-
- uses: actions/checkout@v4
47-
48-
- name: Build sdist
49-
run: pipx run build --sdist
50-
51-
- uses: actions/upload-artifact@v4
52-
with:
53-
name: cibw-sdist
54-
path: dist/*.tar.gz
55-
56-
upload_pypi:
57-
name: Upload to PyPI
58-
needs: [build_wheels, build_sdist]
59-
runs-on: ubuntu-latest
60-
environment: pypi
61-
permissions:
62-
id-token: write
63-
if: github.event_name == 'release' && github.event.action == 'published'
64-
65-
steps:
66-
- uses: actions/download-artifact@v4
67-
with:
68-
pattern: cibw-*
69-
path: dist
70-
merge-multiple: true
71-
72-
- uses: pypa/gh-action-pypi-publish@release/v1
73-
with:
74-
user: __token__
75-
password: ${{ secrets.PYPI_API_TOKEN }}
36+
- name: List wheels
37+
run: ls -lAh ./wheelhouse/*.whl

0 commit comments

Comments
 (0)