mirror of
https://github.com/fluencelabs/aquavm
synced 2025-03-15 20:40:50 +00:00
Build release .wasm in branch builds
This commit is contained in:
parent
bf78530156
commit
69cf914574
10
.github/workflows/publish_interpreter_dev.yml
vendored
10
.github/workflows/publish_interpreter_dev.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
~/.cargo/git
|
~/.cargo/git
|
||||||
~/.cargo/bin
|
~/.cargo/bin
|
||||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-1-${{ hashFiles('**/Cargo.lock') }}
|
||||||
- name: Install Rust toolchain with wasm32-unknown-unknown
|
- name: Install Rust toolchain with wasm32-unknown-unknown
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
@ -74,7 +74,7 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Build aquamarine.wasm for JS clients
|
- name: Build aquamarine.wasm for JS clients
|
||||||
run: wasm-pack build $GITHUB_WORKSPACE/stepper --no-typescript --debug -d $(pwd)/pkg
|
run: wasm-pack build $GITHUB_WORKSPACE/stepper --no-typescript --release -d $(pwd)/pkg
|
||||||
|
|
||||||
- name: Generate aquamarine.wasm.base64.js
|
- name: Generate aquamarine.wasm.base64.js
|
||||||
run: |
|
run: |
|
||||||
@ -156,12 +156,12 @@ jobs:
|
|||||||
- name: Install fcli toml-cli
|
- name: Install fcli toml-cli
|
||||||
run: cargo install fcli toml-cli || true
|
run: cargo install fcli toml-cli || true
|
||||||
|
|
||||||
- name: Build aquamarine.wasm for node (note this is a DEBUG build)
|
- name: Build aquamarine.wasm for node
|
||||||
run: fce build -p aquamarine --features fce
|
run: fce build -p aquamarine --release --features fce
|
||||||
working-directory: stepper
|
working-directory: stepper
|
||||||
|
|
||||||
- name: Copy aquamarine.wasm to air-interpreter-wasm
|
- name: Copy aquamarine.wasm to air-interpreter-wasm
|
||||||
run: cp target/wasm32-wasi/debug/aquamarine.wasm crates/air-interpreter-wasm/aquamarine.wasm
|
run: cp target/wasm32-wasi/release/aquamarine.wasm crates/air-interpreter-wasm/aquamarine.wasm
|
||||||
|
|
||||||
- name: Set project version to MAX_VERSION & add branch to its name
|
- name: Set project version to MAX_VERSION & add branch to its name
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user