Add a crate to test the runtime can be reproducibly built

This commit is contained in:
Luke Parker
2023-07-27 14:19:03 -04:00
parent 09a95c9bd2
commit a8c7bb96c8
13 changed files with 242 additions and 8 deletions

View File

@@ -76,7 +76,19 @@ services:
- "./processor/scripts:/scripts"
entrypoint: /scripts/entry-dev.sh
# Serai services
# Serai runtime
runtime:
profiles:
- runtime
build:
context: ../
dockerfile: ./orchestration/runtime/Dockerfile
entrypoint: |
sh -c "cd /serai/substrate/runtime && cargo clean && cargo build --release && \
sha256sum /serai/target/release/wbuild/serai-runtime/serai_runtime.wasm"
# Serai nodes
_serai:
&serai_defaults