Skip to content

Commit 73a8e3e

Browse files
committed
Run CodeGeneration with local dependencies
If we want to verify that the code-generated files match, we need to use local dependencies because CI doesn’t have internet access. rdar://108902933
1 parent 9a4c5e4 commit 73a8e3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build-script.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ def run_code_generation(
141141
env = dict(os.environ)
142142
env["SWIFT_BUILD_SCRIPT_ENVIRONMENT"] = "1"
143143
env["SWIFTSYNTAX_ENABLE_RAWSYNTAX_VALIDATION"] = "1"
144+
env["SWIFTCI_USE_LOCAL_DEPS"] = "1"
144145
check_call(swiftpm_call, env=env, verbose=verbose)
145146

146147

0 commit comments

Comments
 (0)