-
-
Notifications
You must be signed in to change notification settings - Fork 2
feat: expand SWIFTFLAGS with full paths #74
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #74 +/- ##
=======================================
Coverage 92.79% 92.79%
=======================================
Files 34 34
Lines 1082 1083 +1
Branches 157 157
=======================================
+ Hits 1004 1005 +1
Misses 77 77
Partials 1 1 ☔ View full report in Codecov by Sentry. |
@stevapple is it possible to add validation of this feature in CI? |
I think this environment variable is not quite useful for modern Swift on Windows toolchains, and its only current usage is for LLDB and REPL, which are uncommon for CI/CD. Since it's already guaranteed by unit testing, I think it's okay...? |
While LLDB probably would never be used in CI, some may use REPL. Adding a simple hello world in integration test should be fine. swift -e "print(\"Hello from REPL\")" |
Well, the interpreter had never worked as expected on Windows. These flags are mostly legacy companions for |
Doing this (as well as eliminating support file setup mentioned in #72) requires us to pass/parse the installed version in the post-installation process, which would be explored in a later patch. |
37e1f8a
to
431514b
Compare
Please add comment here as well, so it's not missed |
@stevapple can you rebase this PR, I am thinking of adding this as part of next release. |
Done. |
@stevapple thanks for the quick response, can you add following data to {
"ubuntu2204": "https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.10-SNAPSHOT-2024-03-30-a/swift-wasm-5.10-SNAPSHOT-2024-03-30-a-ubuntu22.04_x86_64.tar.gz",
"xcode": "https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.10-SNAPSHOT-2024-03-30-a/swift-wasm-5.10-SNAPSHOT-2024-03-30-a-macos_x86_64.pkg",
"windows10": ""
} ![]() The CI expects this data to test custom toolchain installations, and hence failing since not present. |
cac7484
to
d7e84a9
Compare
d7e84a9
to
c371ddb
Compare
This will ensure compatibility with both CMD and PowerShell.