-
Notifications
You must be signed in to change notification settings - Fork 279
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
feat: Add --release
flag to wasm_builder
#5209
base: main
Are you sure you want to change the base?
Changes from 2 commits
a7e2a5f
acddbdc
1fdecf7
5384b00
986a835
7a5b957
3e6eb1f
65e547f
5c6e4a8
ade7dc3
441d939
fc8f661
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build wasm libs | ||
run: ./scripts/build_wasm.sh --profile=${{ env.PROFILE }} --target=libs | ||
run: ./scripts/build_wasm.sh --target=libs | ||
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. why change to named argument instead of position based 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. It was easier to validate when all arguments were named. I can revert if these must be position-based. 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. revert |
||
- name: Upload wasm libs to reuse in other jobs | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
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 was good as it was, why change?
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.
likewise for other files in CI
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.
--target=libs
is easier to validate since only named arguments are used inbuild_wasm.sh
--profile=${{ env.IROHA2_PROFILE }}
works fordeploy
, but forPROFILE=profiling
, it will require changes in memory, fuel, and timeouts. I thinkdeploy
should be used everywhere by default.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.
profiling
now?