Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #153

Merged
merged 1 commit into from
Mar 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
python-version: [ "cp38-", "cp39-", "cp310-", "cp311-", "cp312-" ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build CMake targets
run: |
Expand All @@ -40,12 +40,12 @@ jobs:

- if: matrix.target[0] == 'ubuntu-latest'
name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Build wheel
uses: pypa/cibuildwheel@v2.16.2
uses: pypa/cibuildwheel@v2.16.5
env:
CIBW_ARCHS: all
CIBW_BUILD: ${{ matrix.python-version }}${{ matrix.target[1] }}
Expand All @@ -55,18 +55,18 @@ jobs:
CIBW_TEST_COMMAND_WINDOWS: cd /D {project}/Python && python advanced_example.py no_block && python simple_example.py no_block
CIBW_TEST_SKIP: "*-macosx_arm64" # fix CI warning

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: artifacts
name: wheel-${{ matrix.python-version }}${{ matrix.target[1] }}
path: wheelhouse/*

build_sdist:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9" # build sdist on lowest supported Python

Expand All @@ -79,9 +79,9 @@ jobs:
- name: Build sdist
run: python setup.py sdist

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: artifacts
name: sdist
path: dist/*

publish:
Expand All @@ -90,10 +90,10 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifacts
path: artifacts
merge-multiple: true

- name: Install dependencies
run: |
Expand Down