-
Notifications
You must be signed in to change notification settings - Fork 164
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 WASM example #1315
feat: add WASM example #1315
Conversation
Benchmark Results for unmodified programs 🚀
|
5e55d70
to
f24914b
Compare
Codecov Report
@@ Coverage Diff @@
## main #1315 +/- ##
==========================================
+ Coverage 97.53% 97.54% +0.01%
==========================================
Files 92 92
Lines 37474 37695 +221
==========================================
+ Hits 36549 36770 +221
Misses 925 925
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
018e95d
to
3531900
Compare
7c4f0ff
to
6c40d86
Compare
@juanbono I see we're stuck waiting for a "Run tests" job. That doesn't exist, can we remove it? We want "QA / Run tests" instead in all its variants (I see some missing). |
We need to remove the "Run tests (test)" required check and add:
|
I'm leaving this here for any future reappearances of this problem ( Ideally, we would enable some option of We can work around this problem by:
|
@@ -184,17 +187,16 @@ jobs: | |||
- name: Check no-std | |||
run: | | |||
cd ensure-no_std | |||
cargo build --no-default-features | |||
cargo build | |||
cargo check --no-default-features |
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 think it is better to run cargo build instead of a check.
* Add example to workspace * Rename example to wasm-demo, and add keywords * Update example * Update readme and links * Make example show result * Remove license, makefile, cairo contract * Add contract source * Update readme * Update main readme * Update changelog * Compile example program in CI * Build example program also in CI * Modify dependencies in Makefile * Compile example program in test_install workflow * Cache correctly * Activate venv before running make check * Set pyenv local version in install scripts * Remove venv activation from test_install * Install requirements also in pyenv * Add pyenv shims to PATH * Add pyenv shims to path (now for real) * Remove unneeded command and add instructions * Fix workflow * Merge install and compile steps * Source script * Apply Oppen's suggestions * Add keywords to cli; use check instead of build * Upload coverage from both runs and run on release * Don't run in release * Shallow clone repo before tests (+prints) * Partition tests to reduce .profraw amount * Fix: don't use '/' in the name * Fix cache path * Print only on debug * Remove fetch-depth: 1 as it's the default * Remove prints
* Add example to workspace * Rename example to wasm-demo, and add keywords * Update example * Update readme and links * Make example show result * Remove license, makefile, cairo contract * Add contract source * Update readme * Update main readme * Update changelog * Compile example program in CI * Build example program also in CI * Modify dependencies in Makefile * Compile example program in test_install workflow * Cache correctly * Activate venv before running make check * Set pyenv local version in install scripts * Remove venv activation from test_install * Install requirements also in pyenv * Add pyenv shims to PATH * Add pyenv shims to path (now for real) * Remove unneeded command and add instructions * Fix workflow * Merge install and compile steps * Source script * Apply Oppen's suggestions * Add keywords to cli; use check instead of build * Upload coverage from both runs and run on release * Don't run in release * Shallow clone repo before tests (+prints) * Partition tests to reduce .profraw amount * Fix: don't use '/' in the name * Fix cache path * Print only on debug * Remove fetch-depth: 1 as it's the default * Remove prints
Description
This PR moves the cairo-vm-wasm example to this repo and updates it.
We can later improve it, maybe adding an input and passing it to the Cairo program.
Checklist