From 674977a950045d403ac635dbd7ae102553b0f03e Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Wed, 24 Dec 2025 01:48:09 +0000 Subject: [PATCH] Add macOS 26 (beta) to build matrix Add macos-26 (arm64) runner to the build matrix for testing future macOS compatibility. This is currently a beta runner that helps ensure wheels work on upcoming macOS versions. --- .github/workflows/build-reusable.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/build-reusable.yml b/.github/workflows/build-reusable.yml index d9e6da7..541d7fc 100644 --- a/.github/workflows/build-reusable.yml +++ b/.github/workflows/build-reusable.yml @@ -79,6 +79,15 @@ jobs: python: '3.12' - os: macos-15-intel python: '3.13' + # macOS 26 (beta) - arm64 + - os: macos-26 + python: '3.10' + - os: macos-26 + python: '3.11' + - os: macos-26 + python: '3.12' + - os: macos-26 + python: '3.13' runs-on: ${{ matrix.os }} steps: @@ -205,6 +214,8 @@ jobs: export MACOSX_DEPLOYMENT_TARGET=14.0 elif [[ "${{ matrix.os }}" == macos-15* ]]; then export MACOSX_DEPLOYMENT_TARGET=15.0 + elif [[ "${{ matrix.os }}" == macos-26* ]]; then + export MACOSX_DEPLOYMENT_TARGET=26.0 fi uv build --wheel --python ${{ matrix.python }} --find-links ${GITHUB_WORKSPACE}/packages/leann-core/dist else @@ -226,6 +237,8 @@ jobs: export MACOSX_DEPLOYMENT_TARGET=14.0 elif [[ "${{ matrix.os }}" == macos-15* ]]; then export MACOSX_DEPLOYMENT_TARGET=15.0 + elif [[ "${{ matrix.os }}" == macos-26* ]]; then + export MACOSX_DEPLOYMENT_TARGET=26.0 fi uv build --wheel --python ${{ matrix.python }} --find-links ${GITHUB_WORKSPACE}/packages/leann-core/dist else @@ -272,6 +285,9 @@ jobs: elif [[ "${{ matrix.os }}" == macos-15* ]]; then HNSW_TARGET="15.0" DISKANN_TARGET="15.0" + elif [[ "${{ matrix.os }}" == macos-26* ]]; then + HNSW_TARGET="26.0" + DISKANN_TARGET="26.0" fi # Repair HNSW wheel @@ -333,6 +349,8 @@ jobs: export MACOSX_DEPLOYMENT_TARGET=14.0 elif [[ "${{ matrix.os }}" == macos-15* ]]; then export MACOSX_DEPLOYMENT_TARGET=15.0 + elif [[ "${{ matrix.os }}" == macos-26* ]]; then + export MACOSX_DEPLOYMENT_TARGET=26.0 fi fi