Skip to content

Update swift-syntax and library for 5.7.1 #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ jobs:
run: sudo xcode-select -s /Applications/Xcode_13.2.app
- name: test
run: bazelisk test //...
linux-test:
name: Linux test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: fwal/setup-swift@286618643423cd7921459c230b7cd8a96c9c7a10
with:
swift-version: "5.7"
- name: Get swift version
run: swift --version
- name: test
run: CC=clang bazelisk test --build_tests_only //test:swift_binary_test //test:swift_test
# TODO: Re-enable when 5.7.1 is out
# linux-test:
# name: Linux test
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v1
# - uses: fwal/setup-swift@286618643423cd7921459c230b7cd8a96c9c7a10
# with:
# swift-version: "5.7"
# - name: Get swift version
# run: swift --version
# - name: test
# run: CC=clang bazelisk test --build_tests_only //test:swift_binary_test //test:swift_test
10 changes: 5 additions & 5 deletions deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def swift_syntax_deps():

http_archive(
name = "StaticInternalSwiftSyntaxParser",
url = "https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.7/lib_InternalSwiftSyntaxParser.xcframework.zip",
sha256 = "99803975d10b2664fc37cc223a39b4e37fe3c79d3d6a2c44432007206d49db15",
url = "https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.7.1/lib_InternalSwiftSyntaxParser.xcframework.zip",
sha256 = "feb332ba0a027812b1ee7f552321d6069a46207e5cd0f64fa9bb78e2a261b366",
build_file_content = """
load("@build_bazel_rules_apple//apple:apple.bzl", "apple_static_framework_import")

Expand All @@ -33,7 +33,7 @@ apple_static_framework_import(
http_archive(
name = "com_github_keith_swift_syntax",
build_file = "@com_github_keith_swift_syntax_bazel//:SwiftSyntax.BUILD",
sha256 = "d652af27b8a986d8fe4967292839374e06e3a962382318eaf00e0278746b6a41",
strip_prefix = "swift-syntax-swift-5.7-DEVELOPMENT-SNAPSHOT-2022-08-30-a",
url = "https://github.com/apple/swift-syntax/archive/refs/tags/swift-5.7-DEVELOPMENT-SNAPSHOT-2022-08-30-a.tar.gz",
sha256 = "ea96dcd129ed4a05ea0efd7dbe39d929d47c55b1b5b8c2c7a8fce5c7de0bc4d8",
strip_prefix = "swift-syntax-0.50700.1",
url = "https://github.com/apple/swift-syntax/archive/refs/tags/0.50700.1.tar.gz",
)