From 9a78c94d7e505c977867e34b1ea699f5015e6c7e Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Thu, 19 Mar 2020 14:07:29 +0300 Subject: [PATCH] Updated linux.yml. --- .github/workflows/linux.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index eb84dc942..3e26e8217 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -29,7 +29,7 @@ jobs: QT_PREFIX: "/usr/local/desktop-app/Qt-5.12.5" OPENSSL_VER: "1_1_1" OPENSSL_PREFIX: "/usr/local/desktop-app/openssl-1.1.1" - CMAKE_VER: "3.16.3" + CMAKE_VER: "3.17.0" UPLOAD_ARTIFACT: "false" ONLY_CACHE: "false" MANUAL_CACHING: "6" @@ -127,6 +127,7 @@ jobs: sudo mkdir /opt/cmake sudo sh $file --prefix=/opt/cmake --skip-license sudo ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake + rm $file cmake --version @@ -500,11 +501,14 @@ jobs: echo Define from matrix: $DEFINE fi - ./configure.sh -D TDESKTOP_API_TEST=ON -D DESKTOP_APP_USE_PACKAGED=OFF $DEFINE + ./configure.sh \ + -D CMAKE_CXX_FLAGS="-s" \ + -D TDESKTOP_API_TEST=ON \ + -D DESKTOP_APP_USE_PACKAGED=OFF \ + $DEFINE cd ../out/Debug make -j$(nproc) - strip -s bin/Telegram - name: Check. if: env.ONLY_CACHE == 'false'