File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 4646 - name : Run linters
4747 run : |
4848 make check-linting
49+
50+ test-rust-accel :
51+ runs-on : ${{ matrix.os }}
52+ needs :
53+ - test
54+ strategy :
55+ fail-fast : false
56+ matrix :
57+ os : [ubuntu-latest, macos-latest, windows-latest]
58+ python-version : ["3.11"]
59+
60+ steps :
61+ - name : Checkout
62+ uses : actions/checkout@v4
63+
64+ - name : Set up Python ${{ matrix.python-version }}
65+ uses : actions/setup-python@v5
66+ with :
67+ python-version : ${{ matrix.python-version }}
68+
69+ - name : Install Rust
70+ uses : dtolnay/rust-toolchain@stable
71+
72+ - name : Install uv
73+ uses : astral-sh/setup-uv@v3
74+
75+ - name : Sync deps (locked)
76+ run : |
77+ uv sync --locked --all-groups --all-extras
78+
79+ - name : Build & install Rust extension (maturin develop)
80+ uses : PyO3/maturin-action@v1
81+ with :
82+ command : develop
83+ args : --release
84+ working-directory : rust-base32
85+
86+ - name : Sanity check (import extension)
87+ run : |
88+ uv run python -c "import typeid_base32; print('typeid_base32 OK')"
You can’t perform that action at this time.
0 commit comments