File tree Expand file tree Collapse file tree 6 files changed +8
-18
lines changed
Expand file tree Collapse file tree 6 files changed +8
-18
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,14 @@ jobs:
1717 # Only run this action if the PR isn't a draft and it is labled as a `security` PR
1818 if : github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'security')
1919
20- env :
21- XCODE_VERSION : ' Xcode_16.4'
22-
2320 name : Analyze (${{ matrix.language }})
2421 # Runner size impacts CodeQL analysis time. To learn more, please see:
2522 # - https://gh.io/recommended-hardware-resources-for-running-codeql
2623 # - https://gh.io/supported-runners-and-hardware-resources
2724 # - https://gh.io/using-larger-runners (GitHub.com only)
2825 # Consider using larger runners or machines with greater resources for possible analysis time improvements.
2926
30- runs-on : macos-15
27+ runs-on : macos-26
3128 timeout-minutes : ${{ (matrix.language == 'swift' && 120) || 360 }}
3229 permissions :
3330 # required for all workflows
5047 steps :
5148 - name : Checkout repository
5249 uses : actions/checkout@v4
53- - name : Select Xcode
54- run : sudo xcode-select -s "/Applications/$XCODE_VERSION.app"
5550 - name : Initialize CodeQL
5651 uses : github/codeql-action/init@v3
5752 with :
Original file line number Diff line number Diff line change @@ -13,15 +13,10 @@ jobs:
1313
1414 build :
1515
16- env :
17- XCODE_VERSION : ' Xcode_16.4'
18-
19- runs-on : macos-15
16+ runs-on : macos-26
2017
2118 steps :
2219 - uses : actions/checkout@v4
23- - name : Select Xcode
24- run : sudo xcode-select -s "/Applications/$XCODE_VERSION.app"
2520 - name : Install SwiftLint
2621 run : brew install swiftlint
2722 - name : Lint
Original file line number Diff line number Diff line change 11![ Build] ( https://github.com/codefiesta/VimKit/actions/workflows/swift.yml/badge.svg )
2- ![ Xcode 16.4 +] ( https://img.shields.io/badge/Xcode-16.4 %2B-gold.svg )
2+ ![ Xcode 26.0 +] ( https://img.shields.io/badge/Xcode-26.0 %2B-gold.svg )
33![ Swift 6.1+] ( https://img.shields.io/badge/Swift-6.1%2B-tomato.svg )
44![ iOS 18.0+] ( https://img.shields.io/badge/iOS-18.0%2B-crimson.svg )
55![ visionOS 2.0+] ( https://img.shields.io/badge/visionOS-2.0%2B-magenta.svg )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import Combine
88import Foundation
99import MetalKit
1010import VimKitShaders
11- import struct SwiftUICore . Color
11+ import struct SwiftUI . Color
1212
1313// The MPS function name for computing the vertex normals on the GPU
1414private let computeVertexNormalsFunctionName = " computeVertexNormals "
@@ -713,7 +713,7 @@ extension Geometry {
713713
714714 computeEncoder. endEncoding ( )
715715 commandBuffer. commit ( )
716- commandBuffer. waitUntilCompleted ( )
716+ await commandBuffer. completed ( )
717717
718718 // Finally, write the results to a cache file and create the MTLBuffer from it
719719 let data = Data ( bytes: resultsBuffer. contents ( ) , count: resultsBuffer. length)
@@ -769,7 +769,7 @@ extension Geometry {
769769
770770 computeEncoder. endEncoding ( )
771771 commandBuffer. commit ( )
772- commandBuffer. waitUntilCompleted ( )
772+ await commandBuffer. completed ( )
773773
774774 // For now, just loop through the instances on the CPU to calculate the world bounds
775775 // In the future we could do this on the GPU but juice really isn't worth the squeeze
Original file line number Diff line number Diff line change 55// Created by Kevin McKee
66//
77
8- #if canImport(CompositorServices )
8+ #if os(visionOS )
99import CompositorServices
1010import VimKit
1111
Original file line number Diff line number Diff line change 55// Created by Kevin McKee
66//
77
8- #if canImport(CompositorServices )
8+ #if os(visionOS )
99import SwiftUI
1010import VimKit
1111
You can’t perform that action at this time.
0 commit comments