Skip to content

Commit

Permalink
Merge pull request #83 from piotr-roslaniec/inline-wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-roslaniec authored Oct 5, 2023
2 parents 0e6a89d + 408854a commit f1be594
Show file tree
Hide file tree
Showing 16 changed files with 1,756 additions and 3 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/nucypher-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,31 @@ jobs:
with:
cmd: --cwd nucypher-core-wasm/examples/node test

rebundle-wasm:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
target:
- wasm32-unknown-unknown

steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- uses: bahmutov/npm-install@v1
with:
working-directory: nucypher-core-wasm-bundler
node-version: '16.x'
- run: npm run build
working-directory: nucypher-core-wasm-bundler

python-test:
runs-on: ubuntu-latest
strategy:
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions nucypher-core-wasm-bundler/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dist
node_modules
*log
675 changes: 675 additions & 0 deletions nucypher-core-wasm-bundler/LICENSE

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions nucypher-core-wasm-bundler/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# nucypher-core-wasm-bundler

```bash
npm install
npm run build
npm run build:minify
```
Loading

0 comments on commit f1be594

Please sign in to comment.