Skip to content
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

Test rebuild requirement on Linux #80

Open
Cyberbeni opened this issue Nov 18, 2020 · 6 comments
Open

Test rebuild requirement on Linux #80

Cyberbeni opened this issue Nov 18, 2020 · 6 comments

Comments

@Cyberbeni
Copy link
Owner

Probably lsb_release --codename would work fine instead of uname -v

@Cyberbeni
Copy link
Owner Author

Cyberbeni commented Nov 21, 2020

When using just swift --version, SwiftLint threw an error on ubuntu-18.04 after loading the cache saved on 20-04: swiftlint: /lib/x86_64-linux-gnu/libm.so.6: version 'GLIBC_2.29' not found (required by swiftlint)

@Cyberbeni
Copy link
Owner Author

It's probably the best to wait for official support: https://bugs.swift.org/browse/SR-648?focusedCommentId=59744&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-59744

@Cyberbeni Cyberbeni pinned this issue Apr 7, 2022
@Cyberbeni
Copy link
Owner Author

This will probably also allow doing the same on a Linux host: https://developer.apple.com/videos/play/wwdc2024/10136/?time=457

@Cyberbeni
Copy link
Owner Author

The static linux sdk needs to be part of the runner image first: https://github.com/actions/runner-images/blob/main/images/ubuntu/scripts/build/install-swift.sh

@Cyberbeni
Copy link
Owner Author

This needs to be an option. Lower cache size is probably more important than rebuilding frequency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant