mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Free disk space for Docker and Snap
This commit is contained in:
parent
9f34f049ec
commit
0eff5236d4
3 changed files with 9 additions and 5 deletions
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
|
@ -25,7 +25,12 @@ jobs:
|
|||
submodules: recursive
|
||||
|
||||
- name: First set up.
|
||||
run: curl -sSL https://install.python-poetry.org | python3 -
|
||||
run: |
|
||||
sudo apt update
|
||||
curl -sSL https://install.python-poetry.org | python3 -
|
||||
|
||||
- name: Free up some disk space.
|
||||
uses: jlumbroso/free-disk-space@76866dbe54312617f00798d1762df7f43def6e5c
|
||||
|
||||
- name: Docker image build.
|
||||
run: |
|
||||
|
|
3
.github/workflows/snap.yml
vendored
3
.github/workflows/snap.yml
vendored
|
@ -60,6 +60,9 @@ jobs:
|
|||
sudo snap run lxd init --auto
|
||||
sudo snap run lxd waitready
|
||||
|
||||
- name: Free up some disk space.
|
||||
uses: jlumbroso/free-disk-space@76866dbe54312617f00798d1762df7f43def6e5c
|
||||
|
||||
- name: Telegram Desktop snap build.
|
||||
run: sg lxd -c 'snap run snapcraft -v'
|
||||
|
||||
|
|
|
@ -729,10 +729,6 @@ RUN git clone -b {{ QT_TAG }} --depth=1 https://code.qt.io/qt/qt5.git qt_{{ QT }
|
|||
&& git submodule update --init --recursive --depth=1 qtbase qtdeclarative qtwayland qtimageformats qtsvg qtshadertools \
|
||||
&& cd qtbase \
|
||||
&& find ../../patches/qtbase_{{ QT }} -type f -print0 | sort -z | xargs -r0 git apply \
|
||||
&& cd ../qtdeclarative \
|
||||
&& sed -i '/add_subdirectory(quickcontrols)/d' src/CMakeLists.txt \
|
||||
&& sed -i '/add_subdirectory(quickdialogs)/d' src/CMakeLists.txt \
|
||||
&& sed -i '/add_subdirectory(quicknativestyle)/d' src/CMakeLists.txt \
|
||||
&& cd .. \
|
||||
&& ./configure -prefix "{{ QT_PREFIX }}" \
|
||||
CMAKE_BUILD_TYPE=None \
|
||||
|
|
Loading…
Add table
Reference in a new issue