-
Notifications
You must be signed in to change notification settings - Fork 169
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
Cross-platform compatibility #502
Closed
Closed
Changes from 19 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
1fb8a2c
int64 to share
matteosz d6942c8
Migrate to int64 for every int field
matteosz f2b69d2
Add ecies benchmark
K1li4nL 7056881
Add bn256 benchmark
K1li4nL cc57969
Add proof becnhmark
K1li4nL 7f0190d
Add missing for loops
K1li4nL 17f2d00
Set fixed number of predicates for benchmark
K1li4nL cd73d10
Some refactoring
K1li4nL 1296138
Add test wrong shuffles on pair
K1li4nL 6d2858e
Add test wrong Shuffle Sequence
K1li4nL e6aa56c
Add negative test for shuffle/Biffle
K1li4nL 20358b2
Fix comment
K1li4nL 83e79eb
Reduce code duplication
K1li4nL f673a52
Switched to uint32 for idx and th
matteosz bc725ac
Merge branch 'master' into matteo-int-xplatform
matteosz dd5884a
Rebased with drandmerge fork
matteosz 75451a1
Added 32bit CI tests
matteosz 06708ff
Fixed faulty tests
matteosz 05cdaac
Merge conflicts in dkg_test
matteosz c01c053
Merge commit
matteosz 0dd6b32
Modified workflow
matteosz a3b0225
Moved x86 ci changes to separate PR
matteosz 81c8881
Merge branch 'drandmerge' into matteo-int-xplatform
matteosz da79359
Merge branch 'drandmerge' into matteo-int-xplatform
matteosz 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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Maybe add a step that does a
uname -a
and ago env
just to be able to double check that it works?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.
You can see that in the runner anyway, at the top...
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 don't think that would be the case for the Alpine x86 job, since it seems to run on the same worker, no?
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.
Ah, I didn't see that it only runs 3 out of the 4 entries in the matrix - according to the Standard Github Runners, the
ubuntu-latest-x86
doesn't exist. So perhaps it's just ignored?If you look at the checks from this PR, only 3 are run. And I cannot see anything about two tests being run on the
ubuntu-latest
.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 don't think the new workflow would be executed until the changes haven't been merged
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.
Now I'm confused:
synchronize
type will launch the script every time you do agit push
.github/workflows/test_on_pr.yml
anymore - did you remove the changes?I do think it's a good idea to add the 32-bit test to the workflow. And if I'm not mistaken, the workflow has actually been run. It's just that the
-x86
target doesn't exist. But I didn't test 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.
So, yes the synchronize make the CI to run for every git push, however the CI that is run is the one which is already on the master branch (or the drandmerge since it's the base branch now). Hence, I changed the workflow to execute separate jobs (thus avoiding the -x86 target issue) and the changes weren't detected either, so I moved the CI changes to a separate PR to merge before this one so we have the correct CI tests running.
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.
OK, as I have too many things going on and couldn't decide where to start, I did this:
https://github.com/ineiti/test_ubuntu_32bits/blob/main/.github/workflows/test.yaml
some notes:
shell: alpine.sh {0}
, so I think you're still running it on 64-bits and not 32-bitsuname
doesn't show it's 32-bits, so I usedgetconf LONG_BIT
- thanks to stackoverflowI hope that helps...
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.
Will update the CI with that
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.
Great, a good CI-pipeline is worth putting some effort in!