-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test validating global index store builds (#1070)
Previously only arguments were validated, now we validate that the actions actually succeed, which makes sure we successfully run index-import
- Loading branch information
Showing
4 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
load("//swift:swift.bzl", "swift_library") | ||
load("//test/fixtures:common.bzl", "FIXTURE_TAGS") | ||
|
||
package( | ||
default_visibility = ["//test:__subpackages__"], | ||
) | ||
|
||
swift_library( | ||
name = "simple", | ||
srcs = [ | ||
"first.swift", | ||
"second.swift", | ||
], | ||
features = [ | ||
"swift.use_global_index_store", | ||
"swift.index_while_building", | ||
], | ||
tags = FIXTURE_TAGS, | ||
target_compatible_with = ["@platforms//os:macos"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
func first() { | ||
print("first") | ||
second() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
func second() { | ||
print("second") | ||
} |