commit 217429f538877c755dd3e528f2150a885c55dace
parent 62a9548c274258806a7794770a9c2b0a4d4c9aab
Author: Greg Heartsfield <scsibug@imap.cc>
Date: Sun, 11 Sep 2022 10:21:29 -0500
build: add release flags, save artifacts
Diffstat:
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git 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