forked from o-murphy/py-ballisticcalc
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (35 loc) · 926 Bytes
/
cibuildwheel_test.yml
File metadata and controls
46 lines (35 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: CiBuildWheel Test
on:
workflow_dispatch:
permissions:
contents: read
jobs:
build-deploy:
strategy:
fail-fast: false
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v5
- name: Install uv and set the python version
uses: astral-sh/setup-uv@v5
with:
python-version: "3.12"
- name: Validate exts version matching
run: |
uv pip install tomli
python hooks/version_check.py
- name: Install dependencies
run: |
uv pip install cibuildwheel
- name: Build pure python package
run: uv build
- name: Build binary python package
run: |
cd ./pyballistic.exts
uv build --sdist --out-dir ../dist
uv run cibuildwheel --output-dir ../dist
cd ..
- name: List ./dist
run: ls ./dist