Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 82d36fd

Browse files
author
François Torregrossa
committed
attempt 1: update macos to 10.15 and update pypa/cibuildwheel
1 parent 99f2ebf commit 82d36fd

File tree

1 file changed

+94
-94
lines changed

1 file changed

+94
-94
lines changed

.github/workflows/build-and-release.yaml

+94-94
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
os: [ubuntu-20.04, windows-2019, macos-13]
14+
os: [ubuntu-20.04, windows-2019, macos-15]
1515

1616
steps:
1717
- uses: actions/checkout@v4
@@ -42,103 +42,103 @@ jobs:
4242
shell: cmd
4343

4444
- name: Build wheels
45-
uses: pypa/cibuildwheel@v2.22.0
45+
uses: pypa/cibuildwheel@v2.23.2
4646
env:
4747
# disable repair
4848
CIBW_REPAIR_WHEEL_COMMAND: ""
4949
with:
5050
package-dir: .
5151
output-dir: wheelhouse
5252

53-
- uses: actions/upload-artifact@v4
54-
with:
55-
name: wheels-${{ matrix.os }}
56-
path: ./wheelhouse/*.whl
57-
58-
build_wheels_arm64:
59-
name: Build arm64 wheels
60-
runs-on: ubuntu-latest
61-
steps:
62-
- uses: actions/checkout@v4
63-
with:
64-
submodules: "recursive"
65-
66-
- name: Set up QEMU
67-
uses: docker/setup-qemu-action@v3
68-
with:
69-
platforms: linux/arm64
70-
71-
- name: Build wheels
72-
uses: pypa/[email protected]
73-
env:
74-
CIBW_SKIP: "*musllinux* pp*"
75-
CIBW_REPAIR_WHEEL_COMMAND: ""
76-
CIBW_ARCHS: "aarch64"
77-
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
78-
with:
79-
output-dir: wheelhouse
80-
81-
- name: Upload wheels as artifacts
82-
uses: actions/upload-artifact@v4
83-
with:
84-
name: wheels_arm64
85-
path: ./wheelhouse/*.whl
86-
87-
build_sdist:
88-
name: Build source distribution
89-
runs-on: ubuntu-latest
90-
91-
steps:
92-
- uses: actions/checkout@v4
93-
with:
94-
submodules: "recursive"
95-
96-
- uses: actions/setup-python@v5
97-
with:
98-
python-version: "3.9"
99-
100-
- name: Install dependencies (Linux/MacOS)
101-
if: runner.os != 'Windows'
102-
run: |
103-
python -m pip install --upgrade pip
104-
python -m pip install uv
105-
RUST_LOG=trace python -m uv pip install -e .[all] --verbose
106-
python -m uv pip install build
107-
shell: bash
108-
109-
- name: Install dependencies (Windows)
110-
if: runner.os == 'Windows'
111-
env:
112-
RUST_LOG: trace
113-
run: |
114-
python -m pip install --upgrade pip
115-
python -m pip install uv
116-
python -m uv pip install -e .[all] --verbose
117-
python -m uv pip install build
118-
shell: cmd
119-
120-
- name: Build source distribution
121-
run: |
122-
python -m build --sdist
123-
124-
- uses: actions/upload-artifact@v4
125-
with:
126-
name: sdist
127-
path: ./dist/*.tar.gz
128-
129-
release:
130-
name: Release
131-
needs: [build_wheels, build_wheels_arm64, build_sdist]
132-
runs-on: ubuntu-latest
133-
134-
steps:
135-
- uses: actions/download-artifact@v4
136-
with:
137-
merge-multiple: true
138-
path: dist
139-
140-
- uses: softprops/action-gh-release@v2
141-
with:
142-
files: dist/*
143-
env:
144-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
# - uses: actions/upload-artifact@v4
54+
# with:
55+
# name: wheels-${{ matrix.os }}
56+
# path: ./wheelhouse/*.whl
57+
58+
# build_wheels_arm64:
59+
# name: Build arm64 wheels
60+
# runs-on: ubuntu-latest
61+
# steps:
62+
# - uses: actions/checkout@v4
63+
# with:
64+
# submodules: "recursive"
65+
66+
# - name: Set up QEMU
67+
# uses: docker/setup-qemu-action@v3
68+
# with:
69+
# platforms: linux/arm64
70+
71+
# - name: Build wheels
72+
# uses: pypa/[email protected]
73+
# env:
74+
# CIBW_SKIP: "*musllinux* pp*"
75+
# CIBW_REPAIR_WHEEL_COMMAND: ""
76+
# CIBW_ARCHS: "aarch64"
77+
# CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
78+
# with:
79+
# output-dir: wheelhouse
80+
81+
# - name: Upload wheels as artifacts
82+
# uses: actions/upload-artifact@v4
83+
# with:
84+
# name: wheels_arm64
85+
# path: ./wheelhouse/*.whl
86+
87+
# build_sdist:
88+
# name: Build source distribution
89+
# runs-on: ubuntu-latest
90+
91+
# steps:
92+
# - uses: actions/checkout@v4
93+
# with:
94+
# submodules: "recursive"
95+
96+
# - uses: actions/setup-python@v5
97+
# with:
98+
# python-version: "3.9"
99+
100+
# - name: Install dependencies (Linux/MacOS)
101+
# if: runner.os != 'Windows'
102+
# run: |
103+
# python -m pip install --upgrade pip
104+
# python -m pip install uv
105+
# RUST_LOG=trace python -m uv pip install -e .[all] --verbose
106+
# python -m uv pip install build
107+
# shell: bash
108+
109+
# - name: Install dependencies (Windows)
110+
# if: runner.os == 'Windows'
111+
# env:
112+
# RUST_LOG: trace
113+
# run: |
114+
# python -m pip install --upgrade pip
115+
# python -m pip install uv
116+
# python -m uv pip install -e .[all] --verbose
117+
# python -m uv pip install build
118+
# shell: cmd
119+
120+
# - name: Build source distribution
121+
# run: |
122+
# python -m build --sdist
123+
124+
# - uses: actions/upload-artifact@v4
125+
# with:
126+
# name: sdist
127+
# path: ./dist/*.tar.gz
128+
129+
# release:
130+
# name: Release
131+
# needs: [build_wheels, build_wheels_arm64, build_sdist]
132+
# runs-on: ubuntu-latest
133+
134+
# steps:
135+
# - uses: actions/download-artifact@v4
136+
# with:
137+
# merge-multiple: true
138+
# path: dist
139+
140+
# - uses: softprops/action-gh-release@v2
141+
# with:
142+
# files: dist/*
143+
# env:
144+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)