mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-05 22:29:34 +00:00
Install nuget and jom with prepare.py
This commit is contained in:
parent
42fe80b5e2
commit
4d4d75addf
6
.github/workflows/win.yml
vendored
6
.github/workflows/win.yml
vendored
@ -79,10 +79,8 @@ jobs:
|
||||
submodules: recursive
|
||||
path: ${{ env.TBUILD }}\${{ env.REPO_NAME }}
|
||||
|
||||
- name: Choco installs.
|
||||
run: |
|
||||
choco install --no-progress -y jom
|
||||
py -m pip install pywin32
|
||||
- name: Python installs.
|
||||
run: py -m pip install pywin32
|
||||
|
||||
- name: Set up environment paths.
|
||||
shell: bash
|
||||
|
@ -418,6 +418,19 @@ win:
|
||||
SET PATH=%PATH_BACKUP_%
|
||||
""", 'ThirdParty')
|
||||
|
||||
stage('NuGet', """
|
||||
win:
|
||||
mkdir NuGet
|
||||
powershell -Command "Invoke-WebRequest -OutFile ./NuGet/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
|
||||
""", 'ThirdParty')
|
||||
|
||||
stage('jom', """
|
||||
win:
|
||||
powershell -Command "Invoke-WebRequest -OutFile ./jom.zip http://download.qt.io/official_releases/jom/jom.zip"
|
||||
powershell -Command "Expand-Archive ./jom.zip"
|
||||
del jom.zip
|
||||
""", 'ThirdParty')
|
||||
|
||||
stage('depot_tools', """
|
||||
mac:
|
||||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
||||
|
@ -20,11 +20,9 @@ You will require **api_id** and **api_hash** to access the Telegram API servers.
|
||||
|
||||
## Install third party software
|
||||
|
||||
* Download **jom** archive from [http://download.qt.io/official_releases/jom/jom.zip](http://download.qt.io/official_releases/jom/jom.zip) and unpack to ***BuildPath*\\ThirdParty\\jom**
|
||||
* Download **Python 3.9** installer from [https://www.python.org/downloads/](https://www.python.org/downloads/) and install to ***BuildPath*\\ThirdParty\\Python39** with adding to PATH
|
||||
* Download **CMake 3.21 or later** installer from [https://cmake.org/download/](https://cmake.org/download/) and install to ***BuildPath*\\ThirdParty\\cmake**
|
||||
* Download **Git** installer from [https://git-scm.com/download/win](https://git-scm.com/download/win) and install it.
|
||||
* Download **NuGet** executable from [https://dist.nuget.org/win-x86-commandline/latest/nuget.exe](https://dist.nuget.org/win-x86-commandline/latest/nuget.exe) and put to ***BuildPath*\\ThirdParty\\NuGet**
|
||||
|
||||
Open **x64 Native Tools Command Prompt for VS 2022.bat**, go to ***BuildPath*** and run
|
||||
|
||||
|
@ -20,11 +20,9 @@ You will require **api_id** and **api_hash** to access the Telegram API servers.
|
||||
|
||||
## Install third party software
|
||||
|
||||
* Download **jom** archive from [http://download.qt.io/official_releases/jom/jom.zip](http://download.qt.io/official_releases/jom/jom.zip) and unpack to ***BuildPath*\\ThirdParty\\jom**
|
||||
* Download **Python 3.9** installer from [https://www.python.org/downloads/](https://www.python.org/downloads/) and install to ***BuildPath*\\ThirdParty\\Python39** with adding to PATH
|
||||
* Download **CMake 3.21 or later** installer from [https://cmake.org/download/](https://cmake.org/download/) and install to ***BuildPath*\\ThirdParty\\cmake**
|
||||
* Download **Git** installer from [https://git-scm.com/download/win](https://git-scm.com/download/win) and install it.
|
||||
* Download **NuGet** executable from [https://dist.nuget.org/win-x86-commandline/latest/nuget.exe](https://dist.nuget.org/win-x86-commandline/latest/nuget.exe) and put to ***BuildPath*\\ThirdParty\\NuGet**
|
||||
|
||||
Open **x86 Native Tools Command Prompt for VS 2022.bat**, go to ***BuildPath*** and run
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user