Skip to content

Commit

Permalink
Merge pull request #1187 from oom-ai/ci/sdk-python
Browse files Browse the repository at this point in the history
WIP Setup ci for python sdk
  • Loading branch information
wfxr authored Feb 11, 2022
2 parents 2b3109a + 51dd3bf commit 0ba88cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: sdk-python

on:
push:
Expand All @@ -9,25 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: messense/maturin-action@v1
- uses: wfxr/maturin-action@v1
with:
manylinux: auto
command: build
args: --release -o dist
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
name: wheels
path: dist

windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: messense/maturin-action@v1
with:
command: build
args: --release --no-sdist -o dist
args: --release -o dist -m sdk/python/Cargo.toml
rustup-components: rustfmt
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
Expand All @@ -41,7 +28,7 @@ jobs:
- uses: messense/maturin-action@v1
with:
command: build
args: --release --no-sdist -o dist --universal2
args: --release --no-sdist -o dist --universal2 -m sdk/python/Cargo.toml
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
Expand All @@ -52,7 +39,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [ macos, windows, linux ]
needs: [ macos, linux ]
steps:
- uses: actions/download-artifact@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions sdk/python/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0ba88cf

Please sign in to comment.