diff --git a/.github/actions/build-macos-release/action.yml b/.github/actions/build-macos-release/action.yml index 5fa98bcf8a..93e6dd943f 100644 --- a/.github/actions/build-macos-release/action.yml +++ b/.github/actions/build-macos-release/action.yml @@ -18,6 +18,7 @@ runs: - name: Build Python package shell: bash -l {0} env: + DEVELOPER_DIR: /Applications/Xcode-latest.app MACOSX_DEPLOYMENT_TARGET: ${{ inputs.macos-target }} run: | pip install build @@ -28,6 +29,7 @@ runs: if: ${{ inputs.build-backend }} shell: bash -l {0} env: + DEVELOPER_DIR: /Applications/Xcode-latest.app MACOSX_DEPLOYMENT_TARGET: ${{ inputs.macos-target }} run: | python setup.py clean --all diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3e62633a40..9b9420a50a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -110,6 +110,11 @@ jobs: with: macos-target: 15.0 build-backend: ${{ matrix.python-version == '3.10' }} + - name: Build macOS 26 package + uses: ./.github/actions/build-macos-release + with: + macos-target: 26.0 + build-backend: ${{ matrix.python-version == '3.10' }} - name: Upload MLX artifacts uses: actions/upload-artifact@v6 with: