diff --git a/ffi/darwin_objc_test.go b/ffi/darwin_objc_test.go index fdd4ff7..cccde70 100644 --- a/ffi/darwin_objc_test.go +++ b/ffi/darwin_objc_test.go @@ -4,6 +4,7 @@ package ffi import ( "math" + "os" "runtime" "sync" "testing" @@ -674,6 +675,9 @@ func TestDarwinCAMetalLayerProperties(t *testing.T) { if runtime.GOARCH != "arm64" { t.Skip("struct argument/return tests require arm64") } + if os.Getenv("CI") != "" { + t.Skip("CAMetalLayer requires real GPU; GitHub Actions runners have no Metal support") + } rt := loadObjcRuntime(t)