Repository navigation
52 lines (48 loc) · 1.54 KB
/
Copy pathpython-315t.yml
File metadata and controls
52 lines (48 loc) · 1.54 KB
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
47
48
49
50
51
52
name: Python 3.15t wheels
on:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: python-315t-${{ github.ref }}
cancel-in-progress: true
jobs:
wheel-test:
name: cp315t / ${{ matrix.os_name }} x64
runs-on: ${{ matrix.runner }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- os_name: linux
runner: ubuntu-latest
rust_target: x86_64-unknown-linux-gnu
- os_name: macos
runner: macos-15-intel
rust_target: x86_64-apple-darwin
- os_name: windows
runner: windows-latest
rust_target: x86_64-pc-windows-msvc
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.100.0"
- uses: Swatinem/rust-cache@v2
- name: Build cp315t release wheel
shell: bash
env:
RSLOOP_PYTHON_VERSIONS: "3.15t"
run: scripts/build-wheels.sh --out dist --target "${{ matrix.rust_target }}" -- --locked
- name: Check installed wheel and focused free-threading tests
run: uv run --no-project --python 3.15t python scripts/check-free-threaded-wheel.py dist
- name: Upload cp315t wheel
uses: actions/upload-artifact@v4
with:
name: cp315t-${{ matrix.os_name }}-x64
path: dist/*-cp315-cp315t-*.whl
if-no-files-found: error