From e8a9563aeb8f96cb630d1cbebd2631bee1fcdbed Mon Sep 17 00:00:00 2001 From: 0FL01 Date: Wed, 23 Jul 2025 12:30:53 +0300 Subject: [PATCH] another try use ccache --- .github/workflows/flatpak-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/flatpak-build.yml b/.github/workflows/flatpak-build.yml index 39fc779949..c62a59fe77 100644 --- a/.github/workflows/flatpak-build.yml +++ b/.github/workflows/flatpak-build.yml @@ -126,12 +126,12 @@ jobs: export CCACHE_DIR=/ccache && \ export CCACHE_BASEDIR=/usr/src/tdesktop && \ export CCACHE_COMPRESS=1 && \ + export CC='ccache gcc' && \ + export CXX='ccache g++' && \ /usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh \ -D TDESKTOP_API_ID=${TDESKTOP_API_ID} \ -D TDESKTOP_API_HASH=${TDESKTOP_API_HASH} \ - -D USE_CCACHE=ON \ - -D CMAKE_C_COMPILER_LAUNCHER=ccache \ - -D CMAKE_CXX_COMPILER_LAUNCHER=ccache && \ + -D USE_CCACHE=ON && \ ccache -s" - name: Prepare Flatpak build directory