add build commands
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-01-16 23:02:34 +01:00
parent fdd7f41688
commit 6105bbdc65
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ local PipelineBuild(os='linux', arch='amd64') = {
'cp ../source/rust-toolchain .', 'cp ../source/rust-toolchain .',
'cp ../source/build.rs .', 'cp ../source/build.rs .',
'rustup target add x86_64-unknown-linux-musl', 'rustup target add x86_64-unknown-linux-musl',
'cargo build --features ${DB} --release', 'cargo build --features $DB --release',
'find . -not -path "./target*" -delete', 'find . -not -path "./target*" -delete',
'ls -lah', 'ls -lah',
'cp -rT ../source .', 'cp -rT ../source .',

View File

@ -21,7 +21,7 @@ steps:
- cp ../source/rust-toolchain . - cp ../source/rust-toolchain .
- cp ../source/build.rs . - cp ../source/build.rs .
- rustup target add x86_64-unknown-linux-musl - rustup target add x86_64-unknown-linux-musl
- cargo build --features ${DB} --release - cargo build --features $DB --release
- find . -not -path "./target*" -delete - find . -not -path "./target*" -delete
- ls -lah - ls -lah
- cp -rT ../source . - cp -rT ../source .