d4dd4d6548
This patch fixes the builds by running cargo doc before cargo test. Without generated documentation, we don’t have anything to test.
25 lines
494 B
YAML
25 lines
494 B
YAML
# Copyright (C) 2020 Robin Krahl <robin.krahl@ireas.org>
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
image: archlinux
|
|
packages:
|
|
- rustup
|
|
sources:
|
|
- https://git.sr.ht/~ireas/rusty-man
|
|
tasks:
|
|
- setup: |
|
|
rustup set profile minimal
|
|
rustup default 1.40.0
|
|
- version: |
|
|
rustc -V
|
|
- build: |
|
|
cd rusty-man
|
|
cargo build --release
|
|
- test: |
|
|
cd rusty-man
|
|
cargo doc
|
|
cargo test
|
|
triggers:
|
|
- action: email
|
|
condition: failure
|
|
to: robin.krahl@ireas.org
|