Skip to content

Commit 034c327

Browse files
committed
Skip tests requiring the metal toolchain on GH actions runners
1 parent 7d824ea commit 034c327

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/SWBBuildSystemTests/BuildCommandTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ fileprivate struct BuildCommandTests: CoreBasedTests {
323323
}
324324
}
325325

326-
@Test(.requireSDKs(.macOS), .requireXcode16())
326+
@Test(.requireSDKs(.macOS), .requireXcode16(), .skipInGitHubActions("Metal toolchain is not installed on GitHub runners"))
327327
func singleFileCompileMetal() async throws {
328328
let core = try await Self.makeCore(configurationDelegate: TestingCoreConfigurationDelegate(loadMetalToolchain: true))
329329
try await withTemporaryDirectory { tmpDirPath async throws -> Void in

Tests/SWBBuildSystemTests/BuildOperationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6014,7 +6014,7 @@ That command depends on command in Target 'agg2' (project \'aProject\'): script
60146014
}
60156015
}
60166016

6017-
@Test(.requireSDKs(.macOS))
6017+
@Test(.requireSDKs(.macOS), .skipInGitHubActions("Metal toolchain is not installed on GitHub runners"))
60186018
func incrementalMetalLinkWithCodeSign() async throws {
60196019
let core = try await Self.makeCore(configurationDelegate: TestingCoreConfigurationDelegate(loadMetalToolchain: true))
60206020
try await withTemporaryDirectory { tmpDirPath async throws -> Void in

0 commit comments

Comments
 (0)