mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
Merge #2507
2507: Fix the CI for ARM builds r=mergify[bot] a=nextgens We should install the dependencies everywhere where we may have to rebuild the wheels. If other people use other arch and want their builds to go faster we can whitelist them too after they have confirmed it works. Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
This commit is contained in:
commit
c6deb84ab0
@ -45,10 +45,10 @@ RUN set -euxo pipefail \
|
||||
{ \
|
||||
machine="$(uname -m)" \
|
||||
; deps="build-base gcc libffi-dev python3-dev" \
|
||||
; [[ "${machine}" == armv7 ]] && \
|
||||
; [[ "${machine}" != x86_64 ]] && \
|
||||
deps="${deps} cargo git libressl-dev mariadb-connector-c-dev postgresql-dev" \
|
||||
; apk add --virtual .build-deps ${deps} \
|
||||
; [[ "${machine}" == armv7 ]] && \
|
||||
; [[ "${machine}" == armv7* ]] && \
|
||||
mkdir -p /root/.cargo/registry/index && \
|
||||
git clone --bare https://github.com/rust-lang/crates.io-index.git /root/.cargo/registry/index/github.com-1285ae84e5963aae \
|
||||
; pip install -r requirements-${MAILU_DEPS}.txt \
|
||||
|
Loading…
Reference in New Issue
Block a user