-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Patrick Balestra <me@patrickbalestra.com>
- Loading branch information
1 parent
db9d9cb
commit c75af90
Showing
4 changed files
with
73 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Generated by update-module-version.sh. DO NOT EDIT. | ||
module( | ||
name = "rules_swift", | ||
version = "1.8.0", | ||
bazel_compatibility = [">=6.0.0"], | ||
compatibility_level = 1, | ||
repo_name = "build_bazel_rules_swift", | ||
) | ||
|
||
# --- End generated content | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.3.0") | ||
bazel_dep(name = "apple_support", version = "1.6.0", repo_name = "build_bazel_apple_support") | ||
bazel_dep(name = "rules_cc", version = "0.0.2") | ||
bazel_dep(name = "platforms", version = "0.0.5") | ||
bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf") | ||
bazel_dep(name = "rules_proto", version = "5.3.0-21.7") | ||
bazel_dep(name = "nlohmann_json", version = "3.6.1", repo_name = "com_github_nlohmann_json") | ||
|
||
non_module_deps = use_extension("//swift:extensions.bzl", "non_module_deps") | ||
use_repo( | ||
non_module_deps, | ||
"build_bazel_rules_swift_index_import", | ||
"build_bazel_rules_swift_local_config", | ||
"com_github_apple_swift_log", | ||
"com_github_apple_swift_nio", | ||
"com_github_apple_swift_nio_extras", | ||
"com_github_apple_swift_nio_http2", | ||
"com_github_apple_swift_nio_transport_services", | ||
"com_github_apple_swift_protobuf", | ||
"com_github_grpc_grpc_swift", | ||
) | ||
|
||
apple_cc_configure = use_extension("@build_bazel_apple_support//crosstool:setup.bzl", "apple_cc_configure_extension") | ||
use_repo(apple_cc_configure, "local_config_apple_cc") | ||
|
||
# Dev dependencies | ||
bazel_dep(name = "stardoc", version = "0.5.3", dev_dependency = True, repo_name = "io_bazel_stardoc") |
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,28 @@ | ||
shell_commands: &shell_commands | ||
- "echo --- Downloading and extracting Swift $SWIFT_VERSION to $SWIFT_HOME" | ||
- "mkdir $SWIFT_HOME" | ||
- "curl https://download.swift.org/swift-${SWIFT_VERSION}-release/ubuntu2004/swift-${SWIFT_VERSION}-RELEASE/swift-${SWIFT_VERSION}-RELEASE-ubuntu20.04.tar.gz | tar xvz --strip-components=1 -C $SWIFT_HOME" | ||
|
||
matrix: | ||
platform: | ||
- ubuntu2004 | ||
tasks: | ||
verify_targets: | ||
name: Verify build targets | ||
platform: ${{ platform }} | ||
environment: | ||
CC: "clang" | ||
SWIFT_VERSION: "5.5.3" | ||
SWIFT_HOME: "$HOME/swift-$SWIFT_VERSION" | ||
PATH: "$PATH:$SWIFT_HOME/usr/bin" | ||
shell_commands: *shell_commands | ||
build_flags: | ||
- "--action_env=PATH" | ||
build_targets: | ||
- "@rules_swift//examples/xplatform/..." | ||
- "-@rules_swift//examples/xplatform/grpc/..." # TODO: Fix grpc on Linux | ||
verify_targets_macos: | ||
name: Verify build targets | ||
platform: macos | ||
build_targets: | ||
- "@rules_swift//examples/apple/..." |
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,5 @@ | ||
{ | ||
"integrity": "sha256-uYvR7APHE+L/XDqowFkw2LarhcyCs65dhpBY2kcx8jA=", | ||
"strip_prefix": "", | ||
"url": "https://github.com/bazelbuild/rules_swift/releases/download/1.8.0/rules_swift.1.8.0.tar.gz" | ||
} |
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 |
---|---|---|
|
@@ -31,7 +31,8 @@ | |
"1.5.1", | ||
"1.6.0", | ||
"1.7.0", | ||
"1.7.1" | ||
"1.7.1", | ||
"1.8.0" | ||
], | ||
"yanked_versions": {} | ||
} |