Add woodpecker ci config (#3)
Co-authored-by: Paul Campbell <pcampbell@kemitix.net> Reviewed-on: #3
This commit is contained in:
parent
ace6a0faf9
commit
ac5dedb7f9
2 changed files with 18 additions and 8 deletions
10
.woodpecker.yml
Normal file
10
.woodpecker.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
pipeline:
|
||||
build:
|
||||
image: rust
|
||||
commands:
|
||||
- rustup component add rustfmt
|
||||
- cargo --version
|
||||
- cargo fmt --check
|
||||
- cargo build
|
||||
- cargo test
|
||||
- ./test.sh
|
16
justfile
16
justfile
|
@ -1,15 +1,15 @@
|
|||
dist: target-release-skip
|
||||
dist: target-release
|
||||
if test ! -d dist ; then mkdir dist ; fi
|
||||
cp target/release/skip dist/
|
||||
|
||||
inttest: target-debug-skip
|
||||
./test.sh
|
||||
|
||||
target-release-skip: unittest inttest
|
||||
target-release: unittest inttest
|
||||
cargo build --release
|
||||
|
||||
target-debug-skip:
|
||||
cargo build
|
||||
inttest: target-debug
|
||||
./test.sh
|
||||
|
||||
unittest: target-debug-skip
|
||||
unittest: target-debug
|
||||
cargo test
|
||||
|
||||
target-debug:
|
||||
cargo build
|
||||
|
|
Loading…
Reference in a new issue