From af2b66bb5c4bf993bc4a5dda5c388064cf60dea4 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Wed, 8 Apr 2026 11:44:35 +0300 Subject: [PATCH] Migrated CI workflows to depot.dev runners for faster builds. --- .github/workflows/linux.yml | 2 +- .github/workflows/mac.yml | 2 +- .github/workflows/mac_packaged.yml | 2 +- .github/workflows/snap.yml | 2 +- .github/workflows/win.yml | 2 +- README.md | 14 ++++++++++++++ 6 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 2f8091b621..6374ee4499 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -44,7 +44,7 @@ jobs: linux: name: Rocky Linux 8 - runs-on: ubuntu-latest + runs-on: ${{ (github.event_name == 'pull_request' || startsWith(github.ref, 'refs/tags/')) && 'depot-ubuntu-latest-16' || 'ubuntu-latest' }} strategy: matrix: diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index c80ff4db98..02398ecdca 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -40,7 +40,7 @@ jobs: macos: name: MacOS - runs-on: macos-latest + runs-on: ${{ (github.event_name == 'pull_request' || startsWith(github.ref, 'refs/tags/')) && 'depot-macos-latest' || 'macos-latest' }} strategy: matrix: diff --git a/.github/workflows/mac_packaged.yml b/.github/workflows/mac_packaged.yml index 2e91e85491..ecdd2ad71e 100644 --- a/.github/workflows/mac_packaged.yml +++ b/.github/workflows/mac_packaged.yml @@ -40,7 +40,7 @@ jobs: macos: name: MacOS - runs-on: macos-latest + runs-on: ${{ (github.event_name == 'pull_request' || startsWith(github.ref, 'refs/tags/')) && 'depot-macos-latest' || 'macos-latest' }} strategy: matrix: diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml index 8080e600f5..a72869bfb4 100644 --- a/.github/workflows/snap.yml +++ b/.github/workflows/snap.yml @@ -40,7 +40,7 @@ jobs: snap: name: Ubuntu - runs-on: ubuntu-latest + runs-on: ${{ (github.event_name == 'pull_request' || startsWith(github.ref, 'refs/tags/')) && 'depot-ubuntu-latest-16' || 'ubuntu-latest' }} env: UPLOAD_ARTIFACT: "true" diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml index 0e36af68c5..36da5d64b6 100644 --- a/.github/workflows/win.yml +++ b/.github/workflows/win.yml @@ -44,7 +44,7 @@ jobs: windows: name: Windows - runs-on: ${{ matrix.arch == 'arm64' && 'windows-11-arm' || 'windows-latest' }} + runs-on: ${{ matrix.arch == 'arm64' && 'windows-11-arm' || ((github.event_name == 'pull_request' || startsWith(github.ref, 'refs/tags/')) && 'depot-windows-latest-16' || 'windows-latest') }} strategy: matrix: diff --git a/README.md b/README.md index b5cabb358e..89c543e35f 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ This is the complete source code and the build instructions for the official [Te [![Build Status](https://github.com/telegramdesktop/tdesktop/workflows/Windows./badge.svg)](https://github.com/telegramdesktop/tdesktop/actions) [![Build Status](https://github.com/telegramdesktop/tdesktop/workflows/MacOS./badge.svg)](https://github.com/telegramdesktop/tdesktop/actions) [![Build Status](https://github.com/telegramdesktop/tdesktop/workflows/Linux./badge.svg)](https://github.com/telegramdesktop/tdesktop/actions) +[![Built with Depot](https://img.shields.io/badge/Built%20with-Depot.dev-46A75A)](https://depot.dev) [![Preview of Telegram Desktop][preview_image]][preview_image_url] @@ -83,3 +84,16 @@ Version **1.8.15** was the last that supports older systems [linux]: docs/building-linux.md [preview_image]: https://github.com/telegramdesktop/tdesktop/blob/dev/docs/assets/preview.png "Preview of Telegram Desktop" [preview_image_url]: https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/docs/assets/preview.png + +## Thanks to + + + + + + Depot + + + +CI infrastructure sponsored by [Depot](https://depot.dev) — fast GitHub Actions runners. +