-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Bytecode comparison on CircleCI #10039
Conversation
181c82a
to
f761ee0
Compare
Well, that's annoying... So far the only way to get around this would be to use separately named build directories for all jobs and persist with them in the path. Which is, well, annoying... |
For reference: https://circleci.com/blog/deep-diving-into-circleci-workspaces/ |
Ok, we do have an discrepancy, but probably not a serious one. The version numbers are: ems: 0.7.4-develop.2020.10.14+commit.d2eef326 So half of them call themselves nightly, the other half develop builds, apparently. I'll figure out where this is set... |
d2eef32
to
58a1ec4
Compare
Ok - since we only actually build emscripten nightlies, I see no reason why the CI script should have its builds call themselves nightlies. Let's see if that does it. |
I also tried to have the |
16668fe
to
4215986
Compare
4215986
to
a7b8ad3
Compare
paths: | ||
- build/solc/solc | ||
- build/test/soltest | ||
- build/test/tools/solfuzzer |
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.
This is the main workaround. osx moves these files in a subdirectory build
, while the rest has one directory level less.
@@ -5,7 +5,7 @@ ROOTDIR="$(dirname "$0")/../.." | |||
cd "${ROOTDIR}" | |||
|
|||
# shellcheck disable=SC2166 | |||
if [ "$CIRCLE_BRANCH" = release -o -n "$CIRCLE_TAG" -o -n "$FORCE_RELEASE" ]; then echo -n >prerelease.txt; else date -u +"nightly.%Y.%-m.%-d" >prerelease.txt; fi |
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.
Where do we make sure that this is called "nightly" for the actual emscripten build?
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.
Those are built in solc-bin from this github action https://github.com/ethereum/solc-bin/blob/gh-pages/.github/workflows/nightly-emscripten.yml
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.
Hm... which just calls back scripts/travis-emscripten/build_emscripten.sh
ultimately...
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 we actually don't :-) - I'll have a look and make sure - in any case, they won't involve this script, so they're unaffected by the change 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.
Yeah, we don't - they are called develop
... but that needs to be fixed in solc-bin. I'll create a PR there.
No description provided.