Skip to content
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

Open
wants to merge 67 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 58 commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
a7e2a5f
feat: add option to build wasm with optimizations
aoyako Oct 30, 2024
acddbdc
fix: rename optimize to release in build_wasm.sh
aoyako Oct 30, 2024
1fdecf7
Merge branch 'main' into wasm_builder_flags
aoyako Oct 30, 2024
5384b00
chore: cargo fmt
aoyako Oct 30, 2024
986a835
fix: use correct binary directory for debug
aoyako Oct 30, 2024
7a5b957
chore: cargo fmt
aoyako Oct 30, 2024
3e6eb1f
fix: use profile env from compose files
aoyako Oct 31, 2024
65e547f
Merge branch 'main' into wasm_builder_flags
aoyako Oct 31, 2024
5c6e4a8
fix: stack overflow caused by compact
aoyako Nov 7, 2024
ade7dc3
Merge branch 'main' into wasm_builder_flags
aoyako Nov 7, 2024
441d939
feat: add help message to build wasm readme
aoyako Nov 7, 2024
fc8f661
feat: add help message to build wasm readme
aoyako Nov 7, 2024
77b8d44
fix: update failing tests
aoyako Nov 11, 2024
66465f7
Merge branch 'main' into wasm_builder_flags
aoyako Nov 11, 2024
afcf368
fix: revert changes in ci
aoyako Nov 11, 2024
a252e68
fix: update ci files
aoyako Nov 12, 2024
c2a1b94
chore: fmt
aoyako Nov 12, 2024
93e9a8c
Merge branch 'main' into wasm_builder_flags
aoyako Nov 12, 2024
b7820e4
feat: use correct profile from cargo
aoyako Nov 12, 2024
45df4a6
chore: fmt
aoyako Nov 12, 2024
dc2034e
fix: rename profile test->release
aoyako Nov 12, 2024
dbea8cc
fix: make release a default profile
aoyako Nov 13, 2024
4000ece
Merge branch 'main' into wasm_builder_flags
aoyako Nov 13, 2024
9f5db48
chore: fmt
aoyako Nov 13, 2024
ab3054a
fix: readme for wasm builder
aoyako Nov 13, 2024
e3edc40
fix: use shell instead of bash
aoyako Nov 13, 2024
20545b9
fix: reorder optimization process in build
aoyako Nov 13, 2024
89d1535
feat: add release profile
aoyako Nov 13, 2024
bd5ea86
fix: chec profile in ci
aoyako Nov 13, 2024
0fb6a4f
fix: revert
aoyako Nov 13, 2024
fe1189f
feat: get logs from failing ci
aoyako Nov 14, 2024
3182ebd
feat: advanced logging
aoyako Nov 14, 2024
5cfe4df
Merge branch 'main' into wasm_builder_flags
aoyako Nov 19, 2024
c7fe1ce
chore:cleanup
aoyako Nov 19, 2024
5547421
Merge branch 'main' into wasm_builder_flags
aoyako Nov 19, 2024
bd8c70f
chore: cleanup + fmt
aoyako Nov 19, 2024
cac56fb
fix: revert error reporting
aoyako Nov 19, 2024
532bcef
fix: increase executor fuel
aoyako Nov 19, 2024
44892a8
fix: use deploy wasm as default
aoyako Nov 19, 2024
892cdfd
fix: output dir
aoyako Nov 20, 2024
171fbd3
fix: fnt
aoyako Nov 20, 2024
6f76e30
fix: use release
aoyako Nov 20, 2024
d1fac84
fix: cfg changes
aoyako Nov 20, 2024
6079321
fix: add default tests
aoyako Nov 21, 2024
68e8c3b
fix: bump executor fuel
aoyako Nov 21, 2024
e3a6b43
fix: revert genesis
aoyako Nov 22, 2024
e6b7d24
fix: include wasm binaries
aoyako Nov 22, 2024
303b6a9
fix: remove wasms
aoyako Nov 22, 2024
7a79ee0
fix: use ubuntu runner
aoyako Nov 22, 2024
22a17ff
fix: use optimized debug
aoyako Nov 22, 2024
13efce4
fix: update genesis in tests
aoyako Nov 23, 2024
0b80178
fix: revert test changes
aoyako Nov 23, 2024
b05c1f7
fix: revert additional pipeline items
aoyako Nov 23, 2024
d56b644
Merge branch 'main' into wasm_builder_flags
aoyako Nov 25, 2024
92e2228
chore: remove unused profile
aoyako Nov 25, 2024
7980eae
fix: optional output
aoyako Dec 2, 2024
b7b783c
Merge branch 'main' into wasm_builder_flags
aoyako Dec 2, 2024
da9f63e
fix: remove spinner from lib
aoyako Dec 4, 2024
40416e0
fix: fmt
aoyako Dec 4, 2024
0cba0b8
fix: update porfile parsing
aoyako Dec 7, 2024
a10f446
fix: use profiles for custom executors
aoyako Dec 7, 2024
07cb9fe
Merge branch 'main' into wasm_builder_flags
aoyako Dec 7, 2024
2c14c7f
chore: fmt
aoyako Dec 7, 2024
b462b2f
Merge branch 'main' into wasm_builder_flags
aoyako Dec 12, 2024
1e759d2
perf: read build config
aoyako Dec 12, 2024
111824b
fix: parse lowercase
aoyako Dec 13, 2024
fc74888
Merge branch 'main' into wasm_builder_flags
aoyako Dec 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[profile.default]
retries = 2
retries = { backoff = "fixed", count = 3, delay = "3s" }

[profile.ci]
retries = { backoff = "fixed", count = 3, delay = "3s" }
aoyako marked this conversation as resolved.
Show resolved Hide resolved
fail-fast = false
failure-output = "immediate-final"
slow-timeout = { period = "30s", terminate-after = 2 }
slow-timeout = { period = "30s", terminate-after = 4 }

12 changes: 10 additions & 2 deletions .github/workflows/iroha2-dev-pr.yml
mversic marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,19 @@ jobs:
cache-to: type=gha,mode=max
- name: Test docker-compose.single.yml
run: |
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.single.yml up --wait || exit 1
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.single.yml up --wait || {
echo "docker-compose failed. Logs:";
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.single.yml logs --tail="all";
exit 1;
}
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.single.yml down
- name: Test docker-compose.local.yml
run: |
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml up --wait || exit 1
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml up --wait || {
echo "docker-compose failed. Logs:";
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml logs --tail="all";
exit 1;
}
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml down
- name: Run docker-compose.yml containers
run: docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.yml up --wait || exit 1
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/iroha2-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build wasm libs
run: ./scripts/build_wasm.sh libs
run: ./scripts/build_wasm.sh --profile=deploy libs
0x009922 marked this conversation as resolved.
Show resolved Hide resolved
- name: Upload wasm libs to reuse in other jobs
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -64,11 +64,19 @@ jobs:
cache-to: type=gha,mode=max
- name: Test docker-compose.single.yml before pushing
run: |
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.single.yml up --wait || exit 1
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.single.yml up --wait || {
echo "docker-compose failed. Logs:";
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.single.yml logs --tail="all";
exit 1;
}
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.single.yml down
- name: Test docker-compose.local.yml before pushing
run: |
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml up --wait || exit 1
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml up --wait || {
echo "docker-compose failed. Logs:";
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml logs --tail="all";
exit 1;
}
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml down
- name: Test docker-compose.yml before pushing
run: |
Expand Down
Loading
Loading