Skip to content

Commit fcfc640

Browse files
committed
Relax fixture compile for CI
1 parent c6c29b0 commit fcfc640

1 file changed

Lines changed: 20 additions & 16 deletions

File tree

scripts/integration/cli.mjs

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -710,22 +710,26 @@ struct SimDeckFixtureApp: App {
710710
`,
711711
);
712712
const targetArch = process.arch === "arm64" ? "arm64" : "x86_64";
713-
runText("xcrun", [
714-
"--sdk",
715-
"iphonesimulator",
716-
"swiftc",
717-
"-target",
718-
`${targetArch}-apple-ios15.0-simulator`,
719-
"-parse-as-library",
720-
"-O",
721-
"-framework",
722-
"SwiftUI",
723-
"-framework",
724-
"UIKit",
725-
main,
726-
"-o",
727-
path.join(appPath, executable),
728-
]);
713+
runText(
714+
"xcrun",
715+
[
716+
"--sdk",
717+
"iphonesimulator",
718+
"swiftc",
719+
"-target",
720+
`${targetArch}-apple-ios15.0-simulator`,
721+
"-parse-as-library",
722+
"-Onone",
723+
"-framework",
724+
"SwiftUI",
725+
"-framework",
726+
"UIKit",
727+
main,
728+
"-o",
729+
path.join(appPath, executable),
730+
],
731+
{ timeoutMs: 300_000 },
732+
);
729733
return { appPath };
730734
}
731735

0 commit comments

Comments
 (0)