forked from pola-rs/polars
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: release polars-lts-cpu; a more conservative binary (pola-rs#4615)
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
.github/workflows/create-py-release-manylinux-lts-cpu.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Create Python release manylinux LTS-CPU | ||
|
||
on: | ||
push: | ||
# Sequence of patterns matched against refs/tags | ||
tags: | ||
- 'py-polars-v*' # Push events to matching py-polars-v*, i.e. py-polars-v1.0, py-polars-v20.15.10 | ||
jobs: | ||
build_manylinux: | ||
name: Create Release manylinux | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Prepare maturin publish | ||
shell: bash | ||
run: | | ||
rm py-polars/README.md | ||
cp README.md py-polars/README.md | ||
cd py-polars | ||
- name: Prepare lts-cpu | ||
shell: bash | ||
run: | | ||
sed -i 's/name = "polars"/name = "polars-lts-cpu"/' py-polars/pyproject.toml | ||
- name: publish x64_64 lts-cpu | ||
uses: messense/maturin-action@main | ||
env: | ||
MATURIN_PASSWORD: ${{ secrets.PYPI_PASS }} | ||
RUSTFLAGS: '-C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt' | ||
with: | ||
rust-toolchain: nightly-2022-08-22 | ||
# don't use `2_17` it does not work: https://github.com/pola-rs/polars/runs/6107328960 | ||
manylinux: '2_24' | ||
maturin-version: '0.13.0' | ||
command: publish | ||
args: -m py-polars/Cargo.toml --skip-existing -o wheels -i python -u ritchie46 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters