Skip to content

Commit 3b6647a

Browse files
author
Marc Pieper
committed
Update CI script
1 parent c0f84b2 commit 3b6647a

1 file changed

Lines changed: 31 additions & 41 deletions

File tree

.github/workflows/main.yml

Lines changed: 31 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,53 @@
1-
name: tests
1+
name: release-main
22

33
on:
4-
pull_request:
4+
# pull_request:
5+
# push:
6+
# tags:
7+
# - "**"
8+
# workflow_dispatch:
59
push:
6-
tags:
7-
- "**"
8-
workflow_dispatch:
10+
branches: [ci-fix-mar]
911

1012
jobs:
1113
build_wheels:
12-
name: "Build ${{ matrix.CIBW_BUILD }} wheels on ${{ matrix.os }}"
14+
name: "Build on ${{ matrix.os }}"
1315
strategy:
1416
matrix:
1517
os: [ubuntu-latest, macos-latest, windows-latest]
16-
CIBW_BUILD: ["*"]
17-
exclude:
18-
- os: ubuntu-latest
19-
CIBW_BUILD: "*"
20-
include:
21-
- os: ubuntu-latest
22-
CIBW_BUILD: "*manylinux*"
23-
# Disable musllinux
24-
# - os: ubuntu-latest
25-
# CIBW_BUILD: "*musllinux*"
2618
continue-on-error: true
2719
runs-on: ${{ matrix.os }}
2820
steps:
2921
- uses: actions/checkout@v3
3022
with:
3123
submodules: true
32-
- name: Build ${{ matrix.CIBW_BUILD }} wheels on ${{ matrix.os }}
33-
uses: pypa/cibuildwheel@v3.3.0
34-
env:
35-
CIBW_BUILD: ${{ matrix.CIBW_BUILD }}
24+
- name: Build wheels on ${{ matrix.os }}
25+
uses: pypa/cibuildwheel@v3.3.1
3626

3727
- uses: actions/upload-artifact@v4
3828
if: always()
3929
with:
40-
name: distribution
30+
name: distribution-${{ matrix.os }}
4131
path: ./wheelhouse/*.whl
4232

43-
release:
44-
needs: [build_wheels]
45-
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
46-
runs-on: ubuntu-latest
33+
# release:
34+
# needs: [build_wheels]
35+
# if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
36+
# runs-on: ubuntu-latest
4737

48-
steps:
49-
- uses: actions/checkout@v3
50-
- uses: actions/download-artifact@v4
51-
with:
52-
name: distribution
53-
path: dist/
54-
- name: Setup Python
55-
uses: actions/setup-python@v6
56-
- name: Install tox
57-
run: |
58-
python -m pip install tox
59-
- name: Release
60-
run: tox -e release
61-
env:
62-
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
63-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
# steps:
39+
# - uses: actions/checkout@v3
40+
# - uses: actions/download-artifact@v4
41+
# with:
42+
# name: distribution-*
43+
# path: dist/
44+
# - name: Setup Python
45+
# uses: actions/setup-python@v6
46+
# - name: Install tox
47+
# run: |
48+
# python -m pip install tox
49+
# - name: Release
50+
# run: tox -e release
51+
# env:
52+
# TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
53+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)