blastmud/.ci/build

13 lines
342 B
Bash
Executable File

#!/bin/bash -e
set -Eeuo pipefail
echo Using HOME: $HOME
cd blastmud-repo
echo Running tests
cargo test --target-dir ../target --profile release
echo Running main build
cargo build --target-dir ../target --profile release
echo Copying artifacts
cp ../target/release/blastmud_game ../output/
cp ../target/release/blastmud_listener ../output/