mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
only compile tracy on linux
This commit is contained in:
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@ -12,7 +12,6 @@ jobs:
|
|||||||
x86_64-macos,
|
x86_64-macos,
|
||||||
|
|
||||||
aarch64-linux-gnu,
|
aarch64-linux-gnu,
|
||||||
i386-linux-gnu,
|
|
||||||
x86_64-linux-gnu,
|
x86_64-linux-gnu,
|
||||||
|
|
||||||
# No windows support currently.
|
# No windows support currently.
|
||||||
|
@ -24,8 +24,9 @@ pub fn build(b: *std.build.Builder) !void {
|
|||||||
const tracy = b.option(
|
const tracy = b.option(
|
||||||
bool,
|
bool,
|
||||||
"tracy",
|
"tracy",
|
||||||
"Enable Tracy integration (default true in Debug)",
|
"Enable Tracy integration (default true in Debug on Linux)",
|
||||||
) orelse (mode == .Debug);
|
) orelse (mode == .Debug and target.isLinux());
|
||||||
|
|
||||||
const conformance = b.option(
|
const conformance = b.option(
|
||||||
[]const u8,
|
[]const u8,
|
||||||
"conformance",
|
"conformance",
|
||||||
|
Reference in New Issue
Block a user