v0.2.1 #16
Workflow file for this run
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
name: CI | |
on: | |
- push | |
- pull_request | |
- workflow_dispatch | |
permissions: | |
contents: read | |
jobs: | |
build-plrl: | |
name: Build polars-readlines | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: pip | |
- name: Setup Rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
rustflags: "-C target-cpu=x86-64-v3" | |
target: x86_64-unknown-linux-gnu,x86_64-pc-windows-msvc | |
components: llvm-tools | |
- name: Cache XWin | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/cargo-xwin/xwin | |
key: xwin | |
- name: Install dependencies | |
run: python -mpip install maturin[zig] | |
- name: Build sdist | |
run: maturin sdist --out dist | |
- name: Build wheels for Linux | |
run: maturin build --release --out dist --compatibility manylinux2014 --zig | |
- name: Build wheels for Windows | |
run: maturin build --release --out dist --target x86_64-pc-windows-msvc | |
- name: Upload dist | |
uses: actions/upload-artifact@v4 | |
with: | |
path: dist/* |