Skip to content

Commit

Permalink
Build common wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Nov 15, 2024
1 parent d6a63ec commit b3a6cb2
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build wheels

on:
push:
branches:
- master
pull_request:
branches:
- master
paths:
- ".github/workflows/build-wheels.yml"
- "requirements_wheels.txt"

jobs:
wheels:
name: Build basic wheels
if: github.repository_owner == 'home-assistant'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
abi: ["cp312", "cp313"]
arch: ["aarch64", "armhf", "armv7", "amd64", "i386"]
steps:
- name: Check out code from GitHub
uses: actions/[email protected]

- name: Build wheels
uses: ./
with:
abi: ${{ matrix.abi }}
tag: musllinux_1_2
arch: ${{ matrix.arch }}
wheels-key: ${{ secrets.WHEELS_KEY }}
apk: "mariadb-dev;postgresql-dev;libffi-dev;openblas-dev"
skip-binary: "cython"
requirements: "requirements_wheels.txt"
6 changes: 6 additions & 0 deletions requirements_wheels.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
cffi==1.17.1
cython==3.0.11
mysqlclient==2.2.6
ninja==1.11.1.1
numpy==2.1.3
psycopg2==2.9.10

0 comments on commit b3a6cb2

Please sign in to comment.