fix(ci): use Go 1.27 for Darwin backends (#12284)

Older Go linkers stamp pure-Go hosts with SDK metadata that disables
modern Metal APIs. Select Go 1.27 for Darwin builds and document the
backend rebuild requirement.

Assisted-by: Codex:gpt-6

Co-authored-by: localai-org-maint-bot <306269227+localai-org-maint-bot@users.noreply.github.com>
This commit is contained in:
localai-org-maint-botandlocalai-org-maint-bot authored and GitHub committed 2026-09-27 21:06:50 +02:00
1 parent e6b2309b3f
commit a7a6bc2963
4 files changed
+8 -3

No files matched your search

+1 -1
View File
@@ -355,7 +355,7 @@ jobs:
with:
backend: ${{ matrix.backend }}
build-type: ${{ matrix.build-type }}
go-version: "1.25.x"
go-version: "1.27.x"
tag-suffix: ${{ matrix.tag-suffix }}
lang: ${{ matrix.lang || 'python' }}
use-pip: ${{ matrix.backend == 'diffusers' }}
+2 -1
View File
@@ -22,7 +22,8 @@ on:
type: string
go-version:
description: 'Go version to use'
default: '1.24.x'
# Go 1.27 stamps pure-Go hosts with SDK metadata that supports modern Metal APIs.
default: '1.27.x'
type: string
tag-suffix:
description: 'Tag suffix for the built image'
+1 -1
View File
@@ -281,7 +281,7 @@ jobs:
with:
backend: ${{ matrix.backend }}
build-type: ${{ matrix.build-type }}
go-version: "1.25.x"
go-version: "1.27.x"
tag-suffix: ${{ matrix.tag-suffix }}
lang: ${{ matrix.lang || 'python' }}
use-pip: ${{ matrix.backend == 'diffusers' }}