argon2-cffi-bindings/.github/workflows/wheels.yml
Hynek Schlawack 1a83ca75b9
Manually install uv (#115)
* Manually install uv

* Use official

* Use plain build for RISC-V

* Musl too

* Disable setup-uv cache

To make Zizmor shut up
2026-03-06 09:56:34 +01:00

61 lines
1.5 KiB
YAML

---
name: Wheels
on:
push:
tags:
- "*"
pull_request:
workflow_dispatch:
schedule:
- cron: "30 4 15 * *"
permissions: {}
jobs:
wheels:
name: Building for ${{ matrix.os }}${{ matrix.name_suffix || '' }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-22.04
- os: ubuntu-22.04-arm
- os: windows-2022
- os: windows-11-arm
- os: macOS-14
- os: ubuntu-22.04
cibw_archs: "riscv64"
name_suffix: "-riscv64"
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: recursive
fetch-depth: 0
fetch-tags: true
persist-credentials: false
- uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
with:
enable-cache: false
- name: Set up QEMU for RISC-V emulation
if: matrix.cibw_archs == 'riscv64'
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
with:
platforms: riscv64
# See pyproject.toml for config.
- uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
env:
CIBW_ARCHS: ${{ matrix.cibw_archs || 'auto' }}
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: wheels-${{ matrix.os }}${{ matrix.name_suffix || '' }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
...