ci: avoid azure ubuntu mirrors in release builds
This commit is contained in:
parent
ac32197115
commit
19976e4e49
|
|
@ -68,6 +68,14 @@ jobs:
|
|||
with:
|
||||
version: 0.15.2
|
||||
|
||||
- name: Prefer official Ubuntu mirrors over Azure
|
||||
run: |
|
||||
if [ -f /etc/apt/apt-mirrors.txt ]; then
|
||||
sudo sed -i '/azure.archive.ubuntu.com/d' /etc/apt/apt-mirrors.txt
|
||||
echo "Using apt mirrors:"
|
||||
cat /etc/apt/apt-mirrors.txt
|
||||
fi
|
||||
|
||||
- name: Install Linux build tools
|
||||
run: sudo apt-get update && sudo apt-get install -y cmake ninja-build musl-tools gcc-aarch64-linux-gnu crossbuild-essential-arm64
|
||||
|
||||
|
|
|
|||
|
|
@ -64,6 +64,15 @@ jobs:
|
|||
with:
|
||||
version: 0.15.2
|
||||
|
||||
- name: Prefer official Ubuntu mirrors over Azure
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
if [ -f /etc/apt/apt-mirrors.txt ]; then
|
||||
sudo sed -i '/azure.archive.ubuntu.com/d' /etc/apt/apt-mirrors.txt
|
||||
echo "Using apt mirrors:"
|
||||
cat /etc/apt/apt-mirrors.txt
|
||||
fi
|
||||
|
||||
- name: Install Linux build tools
|
||||
if: runner.os == 'Linux'
|
||||
run: sudo apt-get update && sudo apt-get install -y cmake ninja-build musl-tools gcc-aarch64-linux-gnu crossbuild-essential-arm64
|
||||
|
|
|
|||
Loading…
Reference in New Issue