Generate typechecking DB before checking/releasing
continuous-integration/drone the build was successful Details

This commit is contained in:
Olivier 'reivilibre' 2022-03-17 23:58:44 +00:00
parent 2d44cc351b
commit c133fec529
2 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@ pipeline:
commands: commands:
- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential - apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential
- cargo install sqlx-cli --features sqlite - cargo install sqlx-cli --features sqlite
- cd quickpeep && bash dev_db.sh && cd ..
#- rustup component add clippy #- rustup component add clippy
# TODO clippy one day # TODO clippy one day
- cargo check --all - cargo check --all

View File

@ -18,7 +18,9 @@ pipeline:
image: "rust:1.59.0" image: "rust:1.59.0"
commands: commands:
- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential - apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential
- cargo install sqlx-cli --features sqlite
- "qualsuff=`echo -$WOODPECKER_TAG-$WOODPECKER_ARCH | sed s%/%-%`" - "qualsuff=`echo -$WOODPECKER_TAG-$WOODPECKER_ARCH | sed s%/%-%`"
- cd quickpeep && bash dev_db.sh && cd ..
- mkdir dist - mkdir dist
- cargo install --path quickpeep --bins --root dist - cargo install --path quickpeep --bins --root dist
- cargo install --path quickpeep_raker --bins --root dist - cargo install --path quickpeep_raker --bins --root dist