From 217429f538877c755dd3e528f2150a885c55dace Mon Sep 17 00:00:00 2001 From: Greg Heartsfield Date: Sun, 11 Sep 2022 10:21:29 -0500 Subject: [PATCH] build: add release flags, save artifacts --- .build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.build.yml b/.build.yml index 754d24e..c46f8a8 100644 --- a/.build.yml +++ b/.build.yml @@ -1,13 +1,19 @@ image: fedora/latest +arch: x86_64 +artifacts: + - nostr-rs-relay/target/release/nostr-rs-relay +environment: + RUST_LOG: debug packages: - cargo - sqlite-devel sources: - https://git.sr.ht/~gheartsfield/nostr-rs-relay/ +shell: false tasks: - build: | cd nostr-rs-relay - cargo build + cargo build --release - test: | cd nostr-rs-relay - cargo test + cargo test --release