Skip to content

Commit 57b4ba0

Browse files
committed
lower ubtuntu back to 20.04
ubuntu latest kicks glibc up to 2.34
1 parent b5515e8 commit 57b4ba0

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

.github/workflows/ci.yml

+2-17
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
os: [macos-latest, windows-latest, ubuntu-latest]
28+
os: [macos-latest, windows-latest, ubuntu-2004]
2929
arch: [x64, arm64]
3030
include:
3131
- os: macos-latest
@@ -34,7 +34,7 @@ jobs:
3434
- os: windows-latest
3535
friendlyName: Windows
3636
targetPlatform: win32
37-
- os: ubuntu-latest
37+
- os: ubuntu-2004
3838
friendlyName: Linux
3939
targetPlatform: ubuntu
4040
exclude:
@@ -71,12 +71,6 @@ jobs:
7171
run: |
7272
sudo apt-get update
7373
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
8074
- name: Install extra dependencies for building Git on Ubuntu (arm64)
8175
if: matrix.targetPlatform == 'ubuntu' && matrix.arch == 'arm64'
8276
run: |
@@ -86,15 +80,6 @@ jobs:
8680
sudo dpkg --add-architecture arm64
8781
sudo apt-get update
8882
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
9883
- name: Build
9984
shell: bash
10085
run: script/build.sh

0 commit comments

Comments
 (0)