Skip to content

Commit dd4d5d0

Browse files
committed
[ci] Enabled metal tests on macOS
1 parent d6533da commit dd4d5d0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

xtask/src/commands/test.rs

+6
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ pub(crate) fn handle_command(
5151
]);
5252
};
5353

54+
#[allow(unused_mut)]
55+
let mut features = args.features.unwrap_or_default();
56+
#[cfg(target_os = "macos")]
57+
features.push("metal".to_string());
58+
args.features = Some(features);
59+
5460
// test workspace
5561
base_commands::test::handle_command(args.try_into().unwrap())?;
5662

0 commit comments

Comments
 (0)