Skip to content

Commit 0fe3c3f

Browse files
committed
1
1 parent 656f2a3 commit 0fe3c3f

File tree

1 file changed

+83
-83
lines changed

1 file changed

+83
-83
lines changed

.github/workflows/build-push.yml

Lines changed: 83 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
# - os: ubuntu-24.04
3535
# platform: PyPy
3636

37-
- os: windows-latest
38-
platform: win64
37+
# - os: windows-latest
38+
# platform: win64
3939

4040
# - os: windows-latest
4141
# platform: PyPy
@@ -110,7 +110,7 @@ jobs:
110110
- name: Overwrite for MacOs
111111
if: runner.os == 'MacOs' && matrix.platform == 'all'
112112
run: |
113-
find / -name ev.h 2>/dev/null
113+
find / -name ev.h 2>/dev/null || true
114114
echo 'CIBW_ENVIRONMENT: PIP_GLOBAL_OPTION="build_ext -j4 -I/usr/local/include/ -L/usr/local/lib -I/opt/homebrew/include -L/opt/homebrew/lib"' >> $GITHUB_ENV
115115
echo "CIBW_BUILD=cp39* cp310* cp311* cp312* cp313*" >> $GITHUB_ENV
116116
echo "CIBW_BEFORE_TEST_MACOS=pip install -r {project}/test-requirements.txt pytest" >> $GITHUB_ENV
@@ -132,83 +132,83 @@ jobs:
132132
name: wheels-${{ matrix.os }}-${{ matrix.platform }}
133133
path: ./wheelhouse/*.whl
134134

135-
build_sdist:
136-
name: Build source distribution
137-
if: "(!contains(github.event.pull_request.labels.*.name, 'disable-test-build'))|| github.event_name == 'push' && endsWith(github.event.ref, 'scylla')"
138-
runs-on: ubuntu-24.04
139-
steps:
140-
- uses: actions/checkout@v4
141-
142-
- uses: actions/setup-python@v5
143-
name: Install Python
144-
145-
- name: Build sdist
146-
run: |
147-
pip install build
148-
python -m build --sdist
149-
150-
- uses: actions/upload-artifact@v4
151-
with:
152-
name: source-dist
153-
path: dist/*.tar.gz
154-
155-
build_wheels_extra_arch:
156-
if: "(!contains(github.event.pull_request.labels.*.name, 'disable-test-build'))|| github.event_name == 'push' && endsWith(github.event.ref, 'scylla')"
157-
# The host should always be linux
158-
runs-on: ubuntu-24.04
159-
name: Build extra arch ${{ matrix.archs }} wheels
160-
strategy:
161-
fail-fast: false
162-
matrix:
163-
archs: [ aarch64,] # ppc64le ]
164-
165-
steps:
166-
- uses: actions/checkout@v4
167-
168-
- name: Set up QEMU
169-
id: qemu
170-
uses: docker/setup-qemu-action@v3
171-
with:
172-
platforms: all
173-
image: 'docker.io/tonistiigi/binfmt:desktop-v8.1.5'
174-
if: runner.os == 'Linux'
175-
176-
- uses: actions/setup-python@v5
177-
name: Install Python
178-
with:
179-
python-version: '3.13'
180-
181-
- name: Install cibuildwheel
182-
run: |
183-
python -m pip install cibuildwheel==2.22.0
184-
185-
- name: Build wheels
186-
env:
187-
CIBW_BUILD: "cp39* cp310* cp311* cp312*" # limit to specific version since it take much more time than jobs limit
188-
run: |
189-
python -m cibuildwheel --archs ${{ matrix.archs }} --output-dir wheelhouse
190-
191-
- uses: actions/upload-artifact@v4
192-
with:
193-
name: wheels-${{ matrix.archs }}
194-
path: ./wheelhouse/*.whl
195-
196-
upload_pypi:
197-
needs: [build_wheels, build_wheels_extra_arch, build_sdist]
198-
runs-on: ubuntu-24.04
199-
permissions:
200-
id-token: write
201-
202-
# upload to PyPI on every tag starting with 'v'
203-
if: github.event_name == 'push' && endsWith(github.event.ref, 'scylla')
204-
# alternatively, to publish when a GitHub Release is created, use the following rule:
205-
# if: github.event_name == 'release' && github.event.action == 'published'
206-
steps:
207-
- uses: actions/download-artifact@v4
208-
with:
209-
path: dist
210-
merge-multiple: true
211-
212-
- uses: pypa/gh-action-pypi-publish@release/v1
213-
with:
214-
skip-existing: true
135+
# build_sdist:
136+
# name: Build source distribution
137+
# if: "(!contains(github.event.pull_request.labels.*.name, 'disable-test-build'))|| github.event_name == 'push' && endsWith(github.event.ref, 'scylla')"
138+
# runs-on: ubuntu-24.04
139+
# steps:
140+
# - uses: actions/checkout@v4
141+
#
142+
# - uses: actions/setup-python@v5
143+
# name: Install Python
144+
#
145+
# - name: Build sdist
146+
# run: |
147+
# pip install build
148+
# python -m build --sdist
149+
#
150+
# - uses: actions/upload-artifact@v4
151+
# with:
152+
# name: source-dist
153+
# path: dist/*.tar.gz
154+
155+
# build_wheels_extra_arch:
156+
# if: "(!contains(github.event.pull_request.labels.*.name, 'disable-test-build'))|| github.event_name == 'push' && endsWith(github.event.ref, 'scylla')"
157+
# # The host should always be linux
158+
# runs-on: ubuntu-24.04
159+
# name: Build extra arch ${{ matrix.archs }} wheels
160+
# strategy:
161+
# fail-fast: false
162+
# matrix:
163+
# archs: [ aarch64,] # ppc64le ]
164+
#
165+
# steps:
166+
# - uses: actions/checkout@v4
167+
#
168+
# - name: Set up QEMU
169+
# id: qemu
170+
# uses: docker/setup-qemu-action@v3
171+
# with:
172+
# platforms: all
173+
# image: 'docker.io/tonistiigi/binfmt:desktop-v8.1.5'
174+
# if: runner.os == 'Linux'
175+
#
176+
# - uses: actions/setup-python@v5
177+
# name: Install Python
178+
# with:
179+
# python-version: '3.13'
180+
#
181+
# - name: Install cibuildwheel
182+
# run: |
183+
# python -m pip install cibuildwheel==2.22.0
184+
#
185+
# - name: Build wheels
186+
# env:
187+
# CIBW_BUILD: "cp39* cp310* cp311* cp312*" # limit to specific version since it take much more time than jobs limit
188+
# run: |
189+
# python -m cibuildwheel --archs ${{ matrix.archs }} --output-dir wheelhouse
190+
#
191+
# - uses: actions/upload-artifact@v4
192+
# with:
193+
# name: wheels-${{ matrix.archs }}
194+
# path: ./wheelhouse/*.whl
195+
#
196+
# upload_pypi:
197+
# needs: [build_wheels, build_wheels_extra_arch, build_sdist]
198+
# runs-on: ubuntu-24.04
199+
# permissions:
200+
# id-token: write
201+
#
202+
# # upload to PyPI on every tag starting with 'v'
203+
# if: github.event_name == 'push' && endsWith(github.event.ref, 'scylla')
204+
# # alternatively, to publish when a GitHub Release is created, use the following rule:
205+
# # if: github.event_name == 'release' && github.event.action == 'published'
206+
# steps:
207+
# - uses: actions/download-artifact@v4
208+
# with:
209+
# path: dist
210+
# merge-multiple: true
211+
#
212+
# - uses: pypa/gh-action-pypi-publish@release/v1
213+
# with:
214+
# skip-existing: true

0 commit comments

Comments
 (0)