mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
ci: reduce build time (#3519)
This commit is contained in:
committed by
GitHub
parent
cd6e133c86
commit
25a98cda81
@ -47,8 +47,10 @@ RUN flutter doctor
|
||||
RUN dart pub global activate protoc_plugin 20.0.1
|
||||
|
||||
# Install build dependencies for AppFlowy
|
||||
RUN sudo pacman -S --noconfirm git libkeybinder3 sqlite clang rsync libnotify
|
||||
RUN source ~/.cargo/env && cargo install --force cargo-make duckscript_cli
|
||||
RUN yay -S --noconfirm jemalloc4 cargo-make cargo-binstall
|
||||
RUN sudo pacman -S --noconfirm git libkeybinder3 sqlite clang rsync libnotify rocksdb zstd
|
||||
RUN sudo ln -s /usr/bin/sha1sum /usr/bin/shasum
|
||||
RUN source ~/.cargo/env && cargo binstall duckscript_cli -y
|
||||
|
||||
# Build AppFlowy
|
||||
COPY . /appflowy
|
||||
@ -58,7 +60,7 @@ RUN cd frontend && \
|
||||
source ~/.cargo/env && \
|
||||
cargo make appflowy-flutter-deps-tools && \
|
||||
cargo make flutter_clean && \
|
||||
cargo make -p production-linux-x86_64 appflowy-linux
|
||||
OPENSSL_STATIC=1 ZSTD_SYS_USE_PKG_CONFIG=1 ROCKSDB_LIB_DIR="/usr/lib/" cargo make -p production-linux-x86_64 appflowy-linux
|
||||
|
||||
|
||||
#================
|
||||
|
Reference in New Issue
Block a user