CI experimentation and hopeful fix?
continuous-integration/drone the build failed Details

This commit is contained in:
Olivier 'reivilibre' 2021-11-08 13:03:57 +00:00
parent bc23939958
commit 2a4aa5c40c
1 changed files with 6 additions and 5 deletions

View File

@ -6,10 +6,11 @@ pipeline:
event: [push, pull_request]
image: rust:1.56.1-slim
commands:
- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libolm-dev cmake
- echo nop
#- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libolm-dev cmake
#- rustup component add clippy
# TODO clippy one day
- cargo check
#- cargo check
buildRelease:
when:
@ -17,9 +18,9 @@ pipeline:
tag: v*
image: rust:1.56.1-slim
commands:
- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libolm-dev cmake
- cargo build --release
- "dir=$DRONE_REPO_NAME-$DRONE_TAG-${DRONE_ARCH/'/'/-}"
#- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libolm-dev cmake
#- cargo build --release
- "dir=$DRONE_REPO_NAME-$DRONE_TAG-$${DRONE_ARCH/'/'/-}"
- "mkdir $dir"
- cp target/release/mxmonzo $dir/
- tar cvf $dir.tar.gz $dir