-
Notifications
You must be signed in to change notification settings - Fork 41
Enable Windows CI #189
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
base: main
Are you sure you want to change the base?
Enable Windows CI #189
Conversation
6cbb5cc to
e01a207
Compare
0251737 to
6876933
Compare
6876933 to
23668ef
Compare
| basename=$(basename "$filename" .swift) | ||
| swift run --configuration release ${basename} | ||
| done | ||
| windows_env_vars: SWIFT_HOMOMORPHIC_ENCRYPTION_ENABLE_BENCHMARKING=1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- TODO: make sure that works
| try sum -= sum | ||
| precondition(sum.isTransparent()) | ||
|
|
||
| preconditionFailure() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mark this with a TODO to remove it.
| // Workaround SwiftPM's attempt to link in executables which does not work on all | ||
| // platforms. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we come up with a different way to support these tests?
One option would be to split the executables into two parts: the library that will be imported to tests and a very minimal boilerplate main.swift that calls into the library.
Do we have other options?
No description provided.