mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-15 11:36:54 +00:00
Install msys64 with prepare.py
This commit is contained in:
parent
31fa6d24f4
commit
fc19ce5a9b
5
.github/workflows/win.yml
vendored
5
.github/workflows/win.yml
vendored
@ -84,11 +84,6 @@ jobs:
|
||||
choco install --no-progress -y nasm strawberryperl yasm jom ninja
|
||||
py -m pip install pywin32
|
||||
|
||||
- name: Install msys64.
|
||||
run: |
|
||||
mkdir %TBUILD%\ThirdParty
|
||||
xcopy /E /I C:\msys64 %TBUILD%\ThirdParty\msys64
|
||||
|
||||
- name: Set up environment paths.
|
||||
shell: bash
|
||||
run: |
|
||||
|
@ -61,6 +61,7 @@ if not os.path.isdir(os.path.join(thirdPartyDir, keysLoc)):
|
||||
pathlib.Path(os.path.join(thirdPartyDir, keysLoc)).mkdir(parents=True, exist_ok=True)
|
||||
|
||||
pathPrefixes = [
|
||||
'ThirdParty\\msys64\\usr\\bin',
|
||||
'ThirdParty\\Strawberry\\perl\\bin',
|
||||
'ThirdParty\\Python39',
|
||||
'ThirdParty\\NASM',
|
||||
@ -402,6 +403,13 @@ stage('patches', """
|
||||
git checkout 38af8ef4c6
|
||||
""")
|
||||
|
||||
stage('msys64', """
|
||||
win:
|
||||
powershell.exe -Command "Invoke-WebRequest -OutFile ./msys64.exe https://repo.msys2.org/distrib/x86_64/msys2-base-x86_64-20220603.sfx.exe"
|
||||
msys64.exe
|
||||
del msys64.exe
|
||||
""", 'ThirdParty')
|
||||
|
||||
stage('depot_tools', """
|
||||
mac:
|
||||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
||||
|
@ -23,7 +23,6 @@ You will require **api_id** and **api_hash** to access the Telegram API servers.
|
||||
* Download **Strawberry Perl** installer from [http://strawberryperl.com/](http://strawberryperl.com/) and install to ***BuildPath*\\ThirdParty\\Strawberry**
|
||||
* Download **NASM** installer from [http://www.nasm.us](http://www.nasm.us) and install to ***BuildPath*\\ThirdParty\\NASM**
|
||||
* Download **Yasm** executable from [http://yasm.tortall.net/Download.html](http://yasm.tortall.net/Download.html), rename to *yasm.exe* and put to ***BuildPath*\\ThirdParty\\yasm**
|
||||
* Download **MSYS2** installer from [http://www.msys2.org/](http://www.msys2.org/) and install to ***BuildPath*\\ThirdParty\\msys64**
|
||||
* 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**
|
||||
* Download **CMake 3.21 or later** installer from [https://cmake.org/download/](https://cmake.org/download/) and install to ***BuildPath*\\ThirdParty\\cmake**
|
||||
|
@ -23,7 +23,6 @@ You will require **api_id** and **api_hash** to access the Telegram API servers.
|
||||
* Download **Strawberry Perl** installer from [http://strawberryperl.com/](http://strawberryperl.com/) and install to ***BuildPath*\\ThirdParty\\Strawberry**
|
||||
* Download **NASM** installer from [http://www.nasm.us](http://www.nasm.us) and install to ***BuildPath*\\ThirdParty\\NASM**
|
||||
* Download **Yasm** executable from [http://yasm.tortall.net/Download.html](http://yasm.tortall.net/Download.html), rename to *yasm.exe* and put to ***BuildPath*\\ThirdParty\\yasm**
|
||||
* Download **MSYS2** installer from [http://www.msys2.org/](http://www.msys2.org/) and install to ***BuildPath*\\ThirdParty\\msys64**
|
||||
* 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**
|
||||
* Download **CMake 3.21 or later** installer from [https://cmake.org/download/](https://cmake.org/download/) and install to ***BuildPath*\\ThirdParty\\cmake**
|
||||
|
Loading…
Reference in New Issue
Block a user