@@ -47,14 +47,13 @@ jobs:
4747 - name : Install dependencies into dockerfile on Ubuntu
4848 if : matrix.targetPlatform == 'ubuntu'
4949 run : |
50- apt update
51- apt install -y software-properties-common lsb-release sudo wget curl build-essential jq autoconf automake pkg-config ca-certificates
50+ apt-get update
51+ DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common lsb-release sudo wget curl build-essential jq autoconf automake pkg-config ca-certificates
5252 sudo add-apt-repository ppa:git-core/ppa -y
53- sudo apt update
54- sudo apt install -y git
53+ sudo apt-get update
54+ sudo apt-get install -y git
5555 curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
5656 sudo apt-get install -y nodejs
57- # avoid "fatal: detected dubious ownership in repository at '/__w/dugite-native/dugite-native'" error
5857 git config --global --add safe.directory '*'
5958 # We need to use Xcode 14.3.1 for maximum compatibility with older macOS (x64)
6059 - name : Switch to oldest available Xcode
8483 if : matrix.targetPlatform == 'ubuntu' && matrix.arch == 'x64'
8584 run : |
8685 sudo apt-get update
87- sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext
86+ sudo apt-get install -y libcurl4-gnutls-dev libexpat1-dev gettext
8887 - name : Install extra dependencies for building Git on Ubuntu (arm64)
8988 if : matrix.targetPlatform == 'ubuntu' && matrix.arch == 'arm64'
9089 run : |
9392 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
9493 sudo dpkg --add-architecture arm64
9594 sudo apt-get update
96- sudo apt-get install gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu libcurl4-gnutls-dev:arm64 zlib1g-dev:arm64 libbrotli-dev:arm64 gettext
95+ sudo apt-get install -y gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu libcurl4-gnutls-dev:arm64 zlib1g-dev:arm64 libbrotli-dev:arm64 gettext
9796 - name : Build
9897 shell : bash
9998 run : script/build.sh
0 commit comments