File tree 1 file changed +2
-17
lines changed
1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change 25
25
strategy :
26
26
fail-fast : false
27
27
matrix :
28
- os : [macos-latest, windows-latest, ubuntu-latest ]
28
+ os : [macos-latest, windows-latest, ubuntu-2004 ]
29
29
arch : [x64, arm64]
30
30
include :
31
31
- os : macos-latest
34
34
- os : windows-latest
35
35
friendlyName : Windows
36
36
targetPlatform : win32
37
- - os : ubuntu-latest
37
+ - os : ubuntu-2004
38
38
friendlyName : Linux
39
39
targetPlatform : ubuntu
40
40
exclude :
71
71
run : |
72
72
sudo apt-get update
73
73
sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext
74
- - name : Install extra dependencies for building Git on Ubuntu (x86)
75
- if : matrix.targetPlatform == 'ubuntu' && matrix.arch == 'x86'
76
- run : |
77
- sudo dpkg --add-architecture i386
78
- sudo apt-get update
79
- sudo apt-get install gcc-i686-linux-gnu binutils-i686-gnu libcurl4-gnutls-dev:i386 zlib1g-dev:i386 gettext
80
74
- name : Install extra dependencies for building Git on Ubuntu (arm64)
81
75
if : matrix.targetPlatform == 'ubuntu' && matrix.arch == 'arm64'
82
76
run : |
86
80
sudo dpkg --add-architecture arm64
87
81
sudo apt-get update
88
82
sudo apt-get install gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu libcurl4-gnutls-dev:arm64 zlib1g-dev:arm64 gettext
89
- - name : Install extra dependencies for building Git on Ubuntu (arm)
90
- if : matrix.targetPlatform == 'ubuntu' && matrix.arch == 'arm'
91
- run : |
92
- sudo sed -i "s/^deb/deb [arch=amd64,i386]/g" /etc/apt/sources.list
93
- echo "deb [arch=arm64,armhf] http://azure.ports.ubuntu.com/ $(lsb_release -s -c) main universe multiverse restricted" | sudo tee -a /etc/apt/sources.list
94
- echo "deb [arch=arm64,armhf] http://azure.ports.ubuntu.com/ $(lsb_release -s -c)-updates main universe multiverse restricted" | sudo tee -a /etc/apt/sources.list
95
- sudo dpkg --add-architecture armhf
96
- sudo apt-get update
97
- sudo apt-get install gcc-arm-linux-gnueabihf binutils-arm-linux-gnueabihf libcurl4-gnutls-dev:armhf zlib1g-dev:armhf gettext
98
83
- name : Build
99
84
shell : bash
100
85
run : script/build.sh
You can’t perform that action at this time.
0 commit comments