Compare commits

...

12 Commits

Author SHA1 Message Date
48580caab0 github actions: on push tag only 2025-02-12 23:49:52 +01:00
32e36aae00 github actions: fix workflow with strategy.job-index; bump version 2.1.2 2025-02-12 23:46:04 +01:00
f531b0fe90 bump version 2.1.1 2025-02-12 00:06:47 +01:00
511b665643 Fix actions in /.github/workflows/ 2025-02-10 00:27:08 +01:00
5b6ca45f18 Fix bump actions in /.github/workflows: build binary distribution 2024-09-17 23:31:03 +02:00
3dd3cf1446 Fix bump actions in /.github/workflows: build binary distribution: fix comment whitespace 2024-09-17 23:27:47 +02:00
b91f273cb8 Fix bump actions in /.github/workflows: build source distribution 2024-09-17 23:18:01 +02:00
fe741b698c Fix bump actions in /.github/workflows 2024-09-13 11:02:26 +02:00
d53e057dca Bump * ubuntu from 20.04 to 24.04
* windows-2019 to windows-2022
     * actions/setup-python to v5
     * actions/checkout to v5        in /.github/workflows
2024-09-12 13:12:34 +02:00
6c1fd021c2 Bump actions/upload-artifact from 2 to 4 in /.github/workflows 2024-09-12 11:52:15 +02:00
Mario Fink
177f368fdf
Merge pull request #19 from RecordEvolution/dependabot/github_actions/dot-github/workflows/actions/download-artifact-4.1.7
Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows
2024-09-12 11:44:26 +02:00
dependabot[bot]
73ff748ff4
Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 22:06:02 +00:00
2 changed files with 22 additions and 19 deletions

View File

@ -3,23 +3,24 @@ name: CI Build Wheel
on:
push:
branches: [master]
tags: ["v[0-9]+.[0-9]+.[0-9]+"]
jobs:
build_setup:
name: Prepare environment for wheel builds
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- name: Prepare wheel build
run: make -C python/ setup
- name: Store wheel configuration files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.6.0
with:
name: wheel-config
path: python/
- name: Display files
run: ls -lR
build_wheels:
name: Build binary wheels on ${{ matrix.os }}
@ -27,8 +28,7 @@ jobs:
needs: [build_setup]
strategy:
matrix:
os: [ubuntu-20.04, windows-2019]
arch: [auto32, auto64, aarch64]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
@ -36,31 +36,29 @@ jobs:
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.1.2
- name: Get wheel configuration files
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4.1.7
with:
name: wheel-config
path: python/
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
working-directory: python/
# env:
# CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-*
- name: Store binary wheels
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.6.0
with:
name: binary-wheels
name: binary-wheels-${{matrix.os}}-${{ strategy.job-index }}
path: python/wheelhouse/*.whl
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [build_setup]
steps:
- uses: actions/checkout@v2
- name: Install cython
run: python -m pip install cython==0.29.24
- name: Get wheel configuration files
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4.1.7
with:
name: wheel-config
path: python/
@ -68,28 +66,33 @@ jobs:
run: python setup.py sdist
working-directory: python/
- name: Store source wheels
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.6.0
with:
name: source-wheels
path: python/dist/*.tar.gz
- name: Display files
run: ls -lR
upload_pypi:
name: Upload binary wheels to PyPI
runs-on: ubuntu-20.04
name: Upload wheels to PyPI
runs-on: ubuntu-24.04
needs: [build_wheels, build_sdist]
steps:
- name: Get source wheels
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4.1.7
with:
name: source-wheels
path: dist/
- name: Get binary wheels
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4.1.7
with:
name: binary-wheels
path: dist/
pattern: binary-wheels-*
merge-multiple: true
- name: Display files
run: ls -lR
- uses: pypa/gh-action-pypi-publish@release/v1
with:

View File

@ -1 +1 @@
2.0.2
2.1.2