Skip to content

Commit

Permalink
Update CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
anntzer committed Oct 30, 2024
1 parent 440e849 commit 41f1446
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-11, windows-2019]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Build & install
Expand Down Expand Up @@ -68,13 +68,23 @@ jobs:
fi
) &&
PYTHONFAULTHANDLER=1 PYTHONIOENCODING=utf-8 ./run-examples.py
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels
path: dist/
name: wheel-${{ matrix.os }}-${{ matrix.python-version }}
path: dist/*.whl
if: ${{ always() }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: result_images-${{ matrix.os }}-py${{ matrix.python-version }}
path: result_images/
if: ${{ failure() }}

merge-wheels:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/upload-artifact/merge@v4
with:
name: wheels
pattern: wheel-*
delete-merged: true

0 comments on commit 41f1446

Please sign in to comment.