-
Notifications
You must be signed in to change notification settings - Fork 469
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
add github actions workflow for build and test on linux #973
Merged
Merged
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
baac1e3
add github actions workflow for build and test on linux
toffaletti e521fd3
always build protobuf
toffaletti a997c4b
add git commit hash to cache key
toffaletti 8662ac2
add cache fallback restore-key temporarily
toffaletti b0e6e4e
fixes for caching and checkout
toffaletti 76e9a7e
add swift 4.2.4, 5.2.1, and protobuf current master commit hash
toffaletti 7433747
include swift image platform in cache key
toffaletti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add swift 4.2.4, 5.2.1, and protobuf current master commit hash
- Loading branch information
commit 76e9a7e2a50148a0459727ddc88b42cdac6fbd83
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Yes, though this was a temporary workaround until I got an answer here: actions/checkout#209
With that I will be able to put
"master"
in this list and make the caching safe.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.
Is it worth landing that fix now while @tbkka works on getting the hook set up?
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.
Yup, I'll work on it.
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.
Issue 993 is a newer failure on updated conformance tests, so it would be nice to get our master validation update to float with those commits.
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.
@toffaletti how do we check if the caching of things is working? Looking at https://github.com/apple/swift-protobuf/pull/994/checks it seems like it is building protobuf, I would have thought it would be cached from when @tbkka set things up and did a test PR to ensure they built?
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.
I’ll take a look.
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.
I agree it seems like the cache should have had a cache hit, in
https://github.com/apple/swift-protobuf/runs/664761605?check_suite_focus=true I see
then later in Post Cache:
And in the other parallel builds:
But then 3 days later in your PR a cache miss for the same key:
https://github.com/apple/swift-protobuf/runs/674773193?check_suite_focus=true
However, I do see at least one cache hit:
https://github.com/apple/swift-protobuf/runs/675011233?check_suite_focus=true
It seems like the cache isn't reliable. I will open an issue on https://github.com/actions/cache and update here.
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.
actions/cache#310 - will see if they can investigate this better than I'm able to. Meanwhile I'll work on the improved caching for floating on master.