Skip to content

Commit

Permalink
Updated linux.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
23rd committed Mar 24, 2020
1 parent 13e8b60 commit 9a78c94
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 9a78c94

Please sign in to comment.