This commit is contained in:
parent
6e6d294c89
commit
cba2dfe702
@ -28,7 +28,7 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: binary
|
- name: binary
|
||||||
image: clux/muslrust:nightly-2020-10-02
|
image: clux/muslrust:nightly-2021-04-14
|
||||||
commands:
|
commands:
|
||||||
- apt-get -qq update && apt-get install -yqq --no-install-recommends libpq-dev
|
- apt-get -qq update && apt-get install -yqq --no-install-recommends libpq-dev
|
||||||
- make build
|
- make build
|
||||||
@ -38,8 +38,6 @@ steps:
|
|||||||
- name: verify
|
- name: verify
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- apk add tree
|
|
||||||
- tree
|
|
||||||
- src/target/x86_64-unknown-linux-musl/release/vaultwarden --help
|
- src/target/x86_64-unknown-linux-musl/release/vaultwarden --help
|
||||||
- src/target/x86_64-unknown-linux-musl/release/vaultwarden --version
|
- src/target/x86_64-unknown-linux-musl/release/vaultwarden --version
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -215,6 +213,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 9077fc4c1385b0cbbd94966039dd7a6de3a4b4911a40e0c2b3c4e2e7df577b9c
|
hmac: c154ec6b9e2c325bc15353640277a9e618e69cbd5e433c9439e833e2694aba4e
|
||||||
|
|
||||||
...
|
...
|
||||||
|
6
Makefile
6
Makefile
@ -1,8 +1,10 @@
|
|||||||
# renovate: datasource=github-releases depName=dani-garcia/vaultwarden
|
# renovate: datasource=github-releases depName=dani-garcia/vaultwarden
|
||||||
export BUILD_VERSION ?= 1.20.0
|
export BUILD_VERSION ?= 1.21.0
|
||||||
export DEBIAN_FRONTEND ?= noninteractive
|
export DEBIAN_FRONTEND ?= noninteractive
|
||||||
export LANG ?= C.UTF-8
|
export LANG ?= C.UTF-8
|
||||||
export TZ ?= UTC
|
export TZ ?= UTC
|
||||||
|
export RUSTFLAGS ?= '-C link-arg=-s'
|
||||||
|
|
||||||
DB ?= sqlite,postgresql
|
DB ?= sqlite,postgresql
|
||||||
SRC := src
|
SRC := src
|
||||||
|
|
||||||
@ -22,7 +24,7 @@ build-bin:
|
|||||||
rustup set profile minimal && \
|
rustup set profile minimal && \
|
||||||
cd $(SRC) && \
|
cd $(SRC) && \
|
||||||
rustup target add x86_64-unknown-linux-musl && \
|
rustup target add x86_64-unknown-linux-musl && \
|
||||||
VWRS_VERSION="$${BUILD_VERSION##v}" cargo build -j 8 --features $(DB) --release
|
BWRS_VERSION="$${BUILD_VERSION##v}" cargo build -j 8 --features $(DB) --release
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user