-
Notifications
You must be signed in to change notification settings - Fork 83
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
fix: fixes anvil-zksync failing on ubuntu-latest #527
Changes from 2 commits
c512e4f
dc0ec4d
f6bcd45
26f2fad
d1f9863
34b7eba
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,9 +41,9 @@ jobs: | |
] | ||
include: | ||
- arch: x86_64-unknown-linux-gnu | ||
platform: ubuntu-20.04 | ||
platform: ubuntu-latest | ||
- arch: aarch64-unknown-linux-gnu | ||
platform: ubuntu-20.04 | ||
platform: ubuntu-latest | ||
- arch: x86_64-apple-darwin | ||
platform: macos-latest | ||
- arch: aarch64-apple-darwin | ||
|
@@ -77,7 +77,11 @@ jobs: | |
|
||
- name: Build anvil-zksync for ${{ matrix.arch }} | ||
run: | | ||
make build-${{ matrix.arch }} | ||
if [[ "${{ matrix.arch }}" == *"linux"* ]]; then | ||
make build-static-${{ matrix.arch }} | ||
else | ||
make build-${{ matrix.arch }} | ||
fi | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you think we shouldn't build static binaries on macOS? I assume openssl is more or less on every modern mac machine but I wouldn't count on it being the same version There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not too familiar with any pros / cons but figured we havent had any issue with the macos builds to leave it as it. When I was looking into static builds it seems only prevalent with linux builds. |
||
|
||
- name: Rename and move binary | ||
run: | | ||
|
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.
Not sure if it's a good idea, using
latest
recently broke CI in one of other repositories. IMHO it's better to avoid unexpected changes.