Commit ad9faaf0 authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Create binary with postgres support in CI/CD

parent d6db582e
Pipeline #240 passed with stages
in 10 minutes and 11 seconds
...@@ -17,7 +17,7 @@ test: ...@@ -17,7 +17,7 @@ test:
script: script:
- rustc --version - rustc --version
- cargo --version - cargo --version
- cargo test --features "strict" --verbose - make stricttest
clippy: clippy:
stage: test stage: test
...@@ -38,7 +38,7 @@ documentation: ...@@ -38,7 +38,7 @@ documentation:
build: build:
stage: build stage: build
script: script:
- cargo build --release - make dynrelease
only: only:
- master - master
- deploy - deploy
......
...@@ -7,6 +7,12 @@ test: ...@@ -7,6 +7,12 @@ test:
release: release:
env OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu/ OPENSSL_INCLUDE_DIR=/usr/local/include OPENSSL_STATIC=yes cargo build --release --features 'server' env OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu/ OPENSSL_INCLUDE_DIR=/usr/local/include OPENSSL_STATIC=yes cargo build --release --features 'server'
stricttest:
cargo test --features 'strict complete debug' --verbose
dynrelease:
cargo build --release --features 'server'
format: format:
cargo +nightly fmt cargo +nightly fmt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment