Skip to content

Commit

Permalink
new worflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavsuku-db committed Jul 25, 2024
1 parent f182b9e commit 42585e7
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is autogenerated by maturin v1.6.0
# To update, run
#
# maturin generate-ci -m Cargo.toml --platform all --pytest --zig github
# maturin generate-ci -m ../python/delta-kernel-python/Cargo.toml --platform all --pytest --zig github
#
name: CI

Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --zig
args: --release --out dist --manifest-path ../python/delta-kernel-python/Cargo.toml --zig
sccache: 'true'
manylinux: auto
- name: Upload wheels
Expand All @@ -62,7 +62,7 @@ jobs:
source .venv/bin/activate
pip install delta_kernel_python --find-links dist --force-reinstall
pip install pytest
pytest
cd ../python/delta-kernel-python && pytest
- name: pytest
if: ${{ !startsWith(matrix.platform.target, 'x86') && matrix.platform.target != 'ppc64' }}
uses: uraimo/run-on-arch-action@v2
Expand All @@ -77,7 +77,7 @@ jobs:
run: |
set -e
pip3 install delta_kernel_python --find-links dist --force-reinstall
pytest
cd ../python/delta-kernel-python && pytest
musllinux:
runs-on: ${{ matrix.platform.runner }}
Expand All @@ -101,7 +101,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist
args: --release --out dist --manifest-path ../python/delta-kernel-python/Cargo.toml
sccache: 'true'
manylinux: musllinux_1_2
- name: Upload wheels
Expand All @@ -122,7 +122,7 @@ jobs:
source .venv/bin/activate
pip install delta_kernel_python --no-index --find-links dist --force-reinstall
pip install pytest
pytest
cd ../python/delta-kernel-python && pytest
- name: pytest
if: ${{ !startsWith(matrix.platform.target, 'x86') }}
uses: uraimo/run-on-arch-action@v2
Expand All @@ -138,7 +138,7 @@ jobs:
source .venv/bin/activate
pip install pytest
pip install delta_kernel_python --find-links dist --force-reinstall
pytest
cd ../python/delta-kernel-python && pytest
windows:
runs-on: ${{ matrix.platform.runner }}
Expand All @@ -159,7 +159,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist
args: --release --out dist --manifest-path ../python/delta-kernel-python/Cargo.toml
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -175,7 +175,7 @@ jobs:
source .venv/Scripts/activate
pip install delta_kernel_python --find-links dist --force-reinstall
pip install pytest
pytest
cd ../python/delta-kernel-python && pytest
macos:
runs-on: ${{ matrix.platform.runner }}
Expand All @@ -195,7 +195,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist
args: --release --out dist --manifest-path ../python/delta-kernel-python/Cargo.toml
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -209,7 +209,7 @@ jobs:
source .venv/bin/activate
pip install delta_kernel_python --find-links dist --force-reinstall
pip install pytest
pytest
cd ../python/delta-kernel-python && pytest
emscripten:
runs-on: ${{ matrix.platform.runner }}
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist
args: --release --out dist --manifest-path ../python/delta-kernel-python/Cargo.toml
sccache: 'true'
rust-toolchain: nightly
- name: Upload wheels
Expand All @@ -257,7 +257,7 @@ jobs:
source .venv/bin/activate
pip install delta_kernel_python --find-links dist --force-reinstall
pip install pytest
python -m pytest
cd ../python/delta-kernel-python && python -m pytest
sdist:
runs-on: ubuntu-latest
Expand All @@ -267,7 +267,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
command: sdist
args: --out dist
args: --out dist --manifest-path ../python/delta-kernel-python/Cargo.toml
- name: Upload sdist
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 42585e7

Please sign in to comment.