From d11f885751cd9c808089238cf39a17cab3f5e25c Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sat, 9 Nov 2024 01:39:07 +0100 Subject: [PATCH] Only build custom wheels --- .github/workflows/wheels.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index ea02b249dc9..da4a7f13132 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -125,7 +125,7 @@ jobs: core: name: Build Core wheels ${{ matrix.abi }} for ${{ matrix.arch }} (musllinux_1_2) - if: github.repository_owner == 'home-assistant' + if: false && github.repository_owner == 'home-assistant' needs: init runs-on: ubuntu-latest strategy: @@ -218,8 +218,33 @@ jobs: sed -i "/uv/d" requirements.txt sed -i "/uv/d" requirements_diff.txt + - name: Create requirements file for custom build + run: | + touch requirements_custom.txt + + - name: Modify requirements file for custom build + if: contains(fromJSON('["armv7", "armhf"]'), matrix.arch) + id: modify-requirements + run: | + echo " # force update" >> requirements_custom.txt + echo "skip_binary=cython" >> $GITHUB_OUTPUT + + - name: Build wheels (custom) + uses: cdce8p/wheels@master + with: + abi: ${{ matrix.abi }} + tag: musllinux_1_2 + arch: ${{ matrix.arch }} + wheels-key: ${{ secrets.WHEELS_KEY }} + env-file: true + skip-binary: ${{ steps.modify-requirements.outputs.skip_binary }} + constraints: "homeassistant/package_constraints.txt" + requirements: "requirements_custom.txt" + verbose: true + - name: Build wheels uses: home-assistant/wheels@2025.03.0 + if: false with: abi: ${{ matrix.abi }} tag: musllinux_1_2