123456789101112131415161718 |
- #!/usr/bin/env bash
- export WORKSPACE_ROOT=`cargo metadata --offline --no-deps --format-version 1 | jq .workspace_root -r`
- docker run \
- -e WASM_BUILD_TOOLCHAIN=nightly-2021-03-24 \
- --volume ${WORKSPACE_ROOT}/:/home/cross/project \
- --volume ${HOME}/.cargo/registry:/home/cross/.cargo/registry \
- joystream/rust-raspberry \
- build --release -p joystream-node
- ls -l target/arm-unknown-linux-gnueabihf/joystream-node
|