build: add release flags, save artifacts

This commit is contained in:
Greg Heartsfield 2022-09-11 10:21:29 -05:00
parent 62a9548c27
commit 217429f538

View File

@ -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