- Nightly Rust of same version as defined in housekeeping/docker/develop/Dockerfile
rustup default set nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
Unless all the steps are executed, CI will fail the build
- Format the code
cargo fmt - Fix all warnings
RUSTFLAGS="-Dwarnings" cargo check - Execute tests
RUSTFLAGS="-Dwarnings" cargo test
make docker-build-imageor
docker build -t soraneo-develop-nix .make cargo-build-releaseor
cargo build --releasemake cargo-test-releaseor
cargo test --releasemake docker-test-releaseor
./scripts/docker_compose_up.sh --with-last-commit --run "cargo test --release"make docker-build-releaseor
./scripts/docker_compose_up.sh --with-last-commit --run "cargo build --release"./target/release/parachain-collator \
--tmp --validator --alice --ws-port 9944 --port 30333 \
--parachain-id 200 -- --chain ./misc/rococo-custom.json./target/release/parachain-collator \
--tmp --alice --ws-port 9944 --port 30333 \
--parachain-id 200 -- --chain ./misc/rococo-custom.jsonmake a397f7451d80205abf5e535ecee95073ad49e369make a397f7451d80205abf5e535ecee95073ad49e369-debugmake docker-localtestnetmake docker-localtestnet-debugdocker build -f housekeeping/docker/develop/Dockerfile -t soraneo-develop .
docker run -ti -v $(pwd):/app -w /app --rm soraneo-develop cargo build --release