From 0f5daf3345fc997e684fa84d8abd0ae893ba14d9 Mon Sep 17 00:00:00 2001 From: Frank Harrison Date: Thu, 28 Nov 2024 21:06:29 +0000 Subject: [PATCH] chore(actions): fdo NOT build arm64 on python3.8 and earlier --- .github/workflows/wheels.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 48d2713..59ededb 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -39,7 +39,9 @@ jobs: | jq -nRc '{"only": inputs, "os": "windows-latest"}' } | jq -sc ) - echo "include=$MATRIX" >> $GITHUB_OUTPUT + # Filter out arm64 builds for Python 3.8 and earlier + FILTERED_MATRIX=$(echo "$MATRIX" | jq '[.[] | select(.identifier != null) | select((.identifier | contains("arm64")) | not or (.identifier | test("cp3[678]") | not))]') + echo "include=$FILTERED_MATRIX" >> $GITHUB_OUTPUT build_wheels: name: Build ${{ matrix.only }}