mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-09-06 20:13:12 +02:00
remove cache git repo
This commit is contained in:
parent
a1a32e4b2c
commit
5e8a546d3e
1 changed files with 1 additions and 122 deletions
123
.github/workflows/flatpak-build.yml
vendored
123
.github/workflows/flatpak-build.yml
vendored
|
@ -29,129 +29,8 @@ jobs:
|
||||||
echo "Секреты успешно найдены."
|
echo "Секреты успешно найдены."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Create dependency list for cache key
|
- name: Install dependencies and Flatpak SDK
|
||||||
if: steps.cache-git-repos.outputs.cache-hit != 'true'
|
|
||||||
run: |
|
run: |
|
||||||
# Этот файл используется только для генерации ключа кэша.
|
|
||||||
# Любое изменение в версиях зависимостей приведет к пересозданию кэша.
|
|
||||||
cat <<EOF > dependencies.txt
|
|
||||||
Implib.so:ecf7bb51a92a0fb16834c5b698570ab25f9f1d21
|
|
||||||
patches:1ffcb17817a2cab167061d530703842395291e69
|
|
||||||
zlib:v1.3.1
|
|
||||||
xz:v5.8.1
|
|
||||||
protobuf:v30.2
|
|
||||||
lcms2:lcms2.15
|
|
||||||
brotli:v1.1.0
|
|
||||||
highway:1.0.7
|
|
||||||
opus:v1.5.2
|
|
||||||
dav1d:1.5.1
|
|
||||||
openh264:v2.6.0
|
|
||||||
de265:v1.0.16
|
|
||||||
vpx:12f3a2ac603e8f10742105519e0cd03c3b8f71dd
|
|
||||||
webp:v1.5.0
|
|
||||||
avif:v1.3.0
|
|
||||||
heif:v1.19.8
|
|
||||||
jxl:v0.11.1
|
|
||||||
rnnoise:v0.2
|
|
||||||
xcb-proto:xcb-proto-1.16.0
|
|
||||||
xcb:libxcb-1.16
|
|
||||||
xcb-wm:xcb-util-wm-0.4.2
|
|
||||||
xcb-util:xcb-util-0.4.1-gitlab
|
|
||||||
xcb-image:xcb-util-image-0.4.1-gitlab
|
|
||||||
xcb-keysyms:ef5cb393d27511ba511c68a54f8ff7b9aab4a384
|
|
||||||
xcb-render-util:5ad9853d6ddcac394d42dd2d4e34436b5db9da39
|
|
||||||
xcb-cursor:4929f6051658ba5424b41703a1fb63f9db896065
|
|
||||||
xext:libXext-1.3.5
|
|
||||||
xtst:libXtst-1.2.4
|
|
||||||
xfixes:libXfixes-5.0.3
|
|
||||||
xv:libXv-1.0.12
|
|
||||||
xrandr:libXrandr-1.5.3
|
|
||||||
xrender:libXrender-0.9.11
|
|
||||||
xdamage:libXdamage-1.1.6
|
|
||||||
xcomposite:libXcomposite-0.4.6
|
|
||||||
wayland:1.19.0
|
|
||||||
nv-codec-headers:n12.1.14.0
|
|
||||||
ffmpeg:n6.1.1
|
|
||||||
pipewire:0.3.62
|
|
||||||
openal:1.24.3
|
|
||||||
openssl:openssl-3.2.1
|
|
||||||
xkbcommon:xkbcommon-1.6.0
|
|
||||||
qt:6.9.1
|
|
||||||
breakpad:v2024.02.16
|
|
||||||
webrtc:62321fd7128ab2650b459d4195781af8185e46b5
|
|
||||||
ada:v3.2.4
|
|
||||||
tde2e:51743dfd01dff6179e2d8f7095729caa4e2222e9
|
|
||||||
EOF
|
|
||||||
|
|
||||||
- name: Pre-clone Git dependencies
|
|
||||||
if: steps.cache-git-repos.outputs.cache-hit != 'true'
|
|
||||||
run: |
|
|
||||||
echo "Cache not found, cloning all dependencies..."
|
|
||||||
mkdir -p git-cache
|
|
||||||
|
|
||||||
# Функция для клонирования по тегу/ветке
|
|
||||||
clone_branch() { git clone -b "$2" --depth=1 "https://github.com/$1.git" "git-cache/$3"; }
|
|
||||||
|
|
||||||
# Функция для клонирования по коммиту
|
|
||||||
clone_commit() {
|
|
||||||
cd git-cache
|
|
||||||
git init "$3" && cd "$3"
|
|
||||||
git remote add origin "https://github.com/$1.git"
|
|
||||||
git fetch --depth=1 origin "$2"
|
|
||||||
git reset --hard FETCH_HEAD
|
|
||||||
cd ../..
|
|
||||||
}
|
|
||||||
|
|
||||||
# Клонируем все зависимости из Dockerfile
|
|
||||||
clone_commit yugr/Implib.so ecf7bb51a92a0fb16834c5b698570ab25f9f1d21 Implib.so
|
|
||||||
clone_commit desktop-app/patches 1ffcb17817a2cab167061d530703842395291e69 patches
|
|
||||||
clone_branch madler/zlib v1.3.1 zlib
|
|
||||||
clone_branch tukaani-project/xz v5.8.1 xz
|
|
||||||
clone_branch protocolbuffers/protobuf v30.2 protobuf
|
|
||||||
clone_branch mm2/Little-CMS lcms2.15 Little-CMS
|
|
||||||
clone_branch google/brotli v1.1.0 brotli
|
|
||||||
clone_branch google/highway 1.0.7 highway
|
|
||||||
clone_branch xiph/opus v1.5.2 opus
|
|
||||||
clone_branch videolan/dav1d 1.5.1 dav1d
|
|
||||||
clone_branch cisco/openh264 v2.6.0 openh264
|
|
||||||
clone_branch strukturag/libde265 v1.0.16 libde265
|
|
||||||
clone_commit webmproject/libvpx 12f3a2ac603e8f10742105519e0cd03c3b8f71dd libvpx
|
|
||||||
clone_branch webmproject/libwebp v1.5.0 libwebp
|
|
||||||
clone_branch AOMediaCodec/libavif v1.3.0 libavif
|
|
||||||
clone_branch strukturag/libheif v1.19.8 libheif
|
|
||||||
clone_branch libjxl/libjxl v0.11.1 libjxl
|
|
||||||
clone_branch xiph/rnnoise v0.2 rnnoise
|
|
||||||
clone_branch gitlab-freedesktop-mirrors/xcbproto xcb-proto-1.16.0 xcbproto
|
|
||||||
clone_branch gitlab-freedesktop-mirrors/libxcb libxcb-1.16 libxcb
|
|
||||||
clone_branch gitlab-freedesktop-mirrors/libxcb-wm xcb-util-wm-0.4.2 libxcb-wm
|
|
||||||
clone_branch gitlab-freedesktop-mirrors/libxcb-util xcb-util-0.4.1-gitlab libxcb-util
|
|
||||||
clone_branch gitlab-freedesktop-mirrors/libxcb-image xcb-util-image-0.4.1-gitlab libxcb-image
|
|
||||||
clone_commit gitlab-freedesktop-mirrors/libxcb-keysyms ef5cb393d27511ba511c68a54f8ff7b9aab4a384 libxcb-keysyms
|
|
||||||
clone_commit gitlab-freedesktop-mirrors/libxcb-render-util 5ad9853d6ddcac394d42dd2d4e34436b5db9da39 libxcb-render-util
|
|
||||||
clone_commit gitlab-freedesktop-mirrors/libxcb-cursor 4929f6051658ba5424b41703a1fb63f9db896065 libxcb-cursor
|
|
||||||
clone_branch gitlab-freedesktop-mirrors/libxext libXext-1.3.5 libxext
|
|
||||||
clone_branch gitlab-freedesktop-mirrors/libxtst libXtst-1.2.4 libxtst
|
|
||||||
clone_branch gitlab-freedesktop-mirrors/libxfixes libXfixes-5.0.3 libxfixes
|
|
||||||
clone_branch gitlab-freedesktop-mirrors/libxv libXv-1.0.12 libxv
|
|
||||||
clone_branch gitlab-freedesktop-mirrors/libxrandr libXrandr-1.5.3 libxrandr
|
|
||||||
clone_branch gitlab-freedesktop-mirrors/libxrender libXrender-0.9.11 libxrender
|
|
||||||
clone_branch gitlab-freedesktop-mirrors/libxdamage libXdamage-1.1.6 libxdamage
|
|
||||||
clone_branch gitlab-freedesktop-mirrors/libxcomposite libXcomposite-0.4.6 libxcomposite
|
|
||||||
clone_branch gitlab-freedesktop-mirrors/wayland 1.19.0 wayland
|
|
||||||
clone_branch FFmpeg/nv-codec-headers n12.1.14.0 nv-codec-headers
|
|
||||||
clone_branch FFmpeg/FFmpeg n6.1.1 FFmpeg
|
|
||||||
clone_branch PipeWire/pipewire 0.3.62 pipewire
|
|
||||||
clone_branch kcat/openal-soft 1.24.3 openal-soft
|
|
||||||
clone_branch openssl/openssl openssl-3.2.1 openssl
|
|
||||||
clone_branch xkbcommon/libxkbcommon xkbcommon-1.6.0 libxkbcommon
|
|
||||||
clone_branch qt/qt5 v6.9.1 qt5
|
|
||||||
clone_branch chromium/breakpad v2024.02.16 breakpad
|
|
||||||
clone_commit desktop-app/tg_owt 62321fd7128ab2650b459d4195781af8185e46b5 tg_owt
|
|
||||||
clone_branch ada-url/ada v3.2.4 ada
|
|
||||||
clone_commit tdlib/td 51743dfd01dff6179e2d8f7095729caa4e2222e9 tde2e
|
|
||||||
|
|
||||||
- name: Install dependencies and Flatpak SDK
|
|
||||||
run: |
|
|
||||||
sudo dnf install -y flatpak flatpak-builder python3-pip
|
sudo dnf install -y flatpak flatpak-builder python3-pip
|
||||||
pip3 install poetry
|
pip3 install poetry
|
||||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
|
Loading…
Add table
Reference in a new issue