mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-09-06 12:03:41 +02:00
add cache
This commit is contained in:
parent
b2abfee512
commit
11f8fb52cf
1 changed files with 20 additions and 23 deletions
9
.github/workflows/flatpak-build.yml
vendored
9
.github/workflows/flatpak-build.yml
vendored
|
@ -118,17 +118,14 @@ jobs:
|
||||||
ghcr.io/telegramdesktop/tdesktop/centos_env:latest \
|
ghcr.io/telegramdesktop/tdesktop/centos_env:latest \
|
||||||
/bin/bash -c "\
|
/bin/bash -c "\
|
||||||
dnf install -y ccache && \
|
dnf install -y ccache && \
|
||||||
ln -s /usr/bin/ccache /usr/local/bin/gcc && \
|
|
||||||
ln -s /usr/bin/ccache /usr/local/bin/g++ && \
|
|
||||||
ln -s /usr/bin/ccache /usr/local/bin/cc && \
|
|
||||||
ln -s /usr/bin/ccache /usr/local/bin/c++ && \
|
|
||||||
export CCACHE_DIR=/ccache && \
|
export CCACHE_DIR=/ccache && \
|
||||||
export CCACHE_MAXSIZE=2G && \
|
export CCACHE_MAXSIZE=2G && \
|
||||||
export PATH=/usr/local/bin:$PATH && \
|
|
||||||
/usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh \
|
/usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh \
|
||||||
-D TDESKTOP_API_ID=${TDESKTOP_API_ID} \
|
-D TDESKTOP_API_ID=${TDESKTOP_API_ID} \
|
||||||
-D TDESKTOP_API_HASH=${TDESKTOP_API_HASH} \
|
-D TDESKTOP_API_HASH=${TDESKTOP_API_HASH} \
|
||||||
-D USE_CCACHE=ON && \
|
-D USE_CCACHE=ON \
|
||||||
|
-D CMAKE_C_COMPILER_LAUNCHER=ccache \
|
||||||
|
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache && \
|
||||||
ccache -s"
|
ccache -s"
|
||||||
|
|
||||||
- name: Prepare Flatpak build directory
|
- name: Prepare Flatpak build directory
|
||||||
|
|
Loading…
Add table
Reference in a new issue