From 034c327b75fb925df6dc36e05b27fe5020873659 Mon Sep 17 00:00:00 2001 From: Owen Voorhees Date: Thu, 18 Sep 2025 10:14:56 -0700 Subject: [PATCH] Skip tests requiring the metal toolchain on GH actions runners --- Tests/SWBBuildSystemTests/BuildCommandTests.swift | 2 +- Tests/SWBBuildSystemTests/BuildOperationTests.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/SWBBuildSystemTests/BuildCommandTests.swift b/Tests/SWBBuildSystemTests/BuildCommandTests.swift index da0e8569..91ecb6da 100644 --- a/Tests/SWBBuildSystemTests/BuildCommandTests.swift +++ b/Tests/SWBBuildSystemTests/BuildCommandTests.swift @@ -323,7 +323,7 @@ fileprivate struct BuildCommandTests: CoreBasedTests { } } - @Test(.requireSDKs(.macOS), .requireXcode16()) + @Test(.requireSDKs(.macOS), .requireXcode16(), .skipInGitHubActions("Metal toolchain is not installed on GitHub runners")) func singleFileCompileMetal() async throws { let core = try await Self.makeCore(configurationDelegate: TestingCoreConfigurationDelegate(loadMetalToolchain: true)) try await withTemporaryDirectory { tmpDirPath async throws -> Void in diff --git a/Tests/SWBBuildSystemTests/BuildOperationTests.swift b/Tests/SWBBuildSystemTests/BuildOperationTests.swift index 150e503a..556c0783 100644 --- a/Tests/SWBBuildSystemTests/BuildOperationTests.swift +++ b/Tests/SWBBuildSystemTests/BuildOperationTests.swift @@ -6014,7 +6014,7 @@ That command depends on command in Target 'agg2' (project \'aProject\'): script } } - @Test(.requireSDKs(.macOS)) + @Test(.requireSDKs(.macOS), .skipInGitHubActions("Metal toolchain is not installed on GitHub runners")) func incrementalMetalLinkWithCodeSign() async throws { let core = try await Self.makeCore(configurationDelegate: TestingCoreConfigurationDelegate(loadMetalToolchain: true)) try await withTemporaryDirectory { tmpDirPath async throws -> Void in