Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
dewmal committed Jun 11, 2024
1 parent da6c197 commit 6ef6e65
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
with:
python-version: '3.10'
- name: Change Directory
run: cd bindings/ceylon
run: cd bindings/ceylonai
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand All @@ -54,7 +54,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-linux-${{ matrix.platform.target }}
path: dist
path: bindings/ceylonai/dist

windows:
runs-on: ${{ matrix.platform.runner }}
Expand All @@ -71,6 +71,8 @@ jobs:
with:
python-version: '3.10'
architecture: ${{ matrix.platform.target }}
- name: Change Directory
run: cd bindings/ceylonai
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand All @@ -81,7 +83,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-windows-${{ matrix.platform.target }}
path: dist
path: bindings/ceylonai/dist

macos:
runs-on: ${{ matrix.platform.runner }}
Expand All @@ -97,6 +99,8 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Change Directory
run: cd bindings/ceylonai
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand All @@ -107,12 +111,14 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-macos-${{ matrix.platform.target }}
path: dist
path: bindings/ceylonai/dist

sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Change Directory
run: cd bindings/ceylonai
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
Expand All @@ -122,7 +128,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-sdist
path: dist
path: bindings/ceylonai/dist

release:
name: Release
Expand All @@ -131,6 +137,8 @@ jobs:
needs: [linux, windows, macos, sdist]
steps:
- uses: actions/download-artifact@v4
- name: Change Directory
run: cd bindings/ceylonai
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
Expand Down

0 comments on commit 6ef6e65

Please sign in to comment.