Skip to content

Commit

Permalink
Merge pull request #4 from abstractqqq/cicd
Browse files Browse the repository at this point in the history
Quick updates recommended by ritchie to cargo.toml
  • Loading branch information
abstractqqq authored Nov 6, 2023
2 parents e74f196 + d0a4dfa commit e464844
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 53 deletions.
18 changes: 9 additions & 9 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.2.3
# This file is autogenerated by maturin v1.3.1
# To update, run
#
# maturin generate-ci github
# maturin generate-ci github -o .github/workflows/CI.yml
#
name: CI

Expand All @@ -11,7 +11,7 @@ on:
- main
- master
tags:
- '*'
- "*"
pull_request:
workflow_dispatch:

Expand All @@ -28,13 +28,13 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.10"
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
sccache: "true"
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v3
Expand All @@ -51,14 +51,14 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.10"
architecture: ${{ matrix.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand All @@ -74,13 +74,13 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.10"
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down
80 changes: 39 additions & 41 deletions Cargo.lock

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

4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ crate-type = ["cdylib"]
pyo3 = {version = "0.20", features = ["extension-module"]}
pyo3-polars = {version = "0.8", features = ["derive"]}
polars = {version = "0.34", features = ["performant", "chunked_ids", "lazy", "dtype-struct", "ndarray", "log"]}
polars-core = "0.34"
polars-lazy = "0.34"
num = "0.4.1"
faer = {version = "0.14.1", features = ["ndarray"]}
ndarray = "0.15.6"
Expand All @@ -29,4 +27,4 @@ mimalloc = { version = "0.1", default-features = false }

[profile.release]
codegen-units = 1
lto = "fat"
lto = "fat"

0 comments on commit e464844

Please sign in to comment.