Experiment

This commit is contained in:
Olivier 'reivilibre' 2021-11-08 13:09:36 +00:00
parent 2a4aa5c40c
commit 9dfca7ec16
1 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,8 @@ pipeline:
event: [push, pull_request] event: [push, pull_request]
image: rust:1.56.1-slim image: rust:1.56.1-slim
commands: commands:
- echo nop - "dir=$DRONE_REPO_NAME-$DRONE_TAG-${DRONE_ARCH/\//-}"
- "echo $dir"
#- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libolm-dev cmake #- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libolm-dev cmake
#- rustup component add clippy #- rustup component add clippy
# TODO clippy one day # TODO clippy one day
@ -20,7 +21,7 @@ pipeline:
commands: commands:
#- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libolm-dev cmake #- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libolm-dev cmake
#- cargo build --release #- cargo build --release
- "dir=$DRONE_REPO_NAME-$DRONE_TAG-$${DRONE_ARCH/'/'/-}" - "dir=$DRONE_REPO_NAME-$DRONE_TAG-${DRONE_ARCH/\//-}"
- "mkdir $dir" - "mkdir $dir"
- cp target/release/mxmonzo $dir/ - cp target/release/mxmonzo $dir/
- tar cvf $dir.tar.gz $dir - tar cvf $dir.tar.gz $dir