mirror of
https://github.com/fmtlib/fmt.git
synced 2025-06-25 01:11:40 +02:00
Cleanup build config
This commit is contained in:
13
.github/workflows/linux.yml
vendored
13
.github/workflows/linux.yml
vendored
@ -129,15 +129,18 @@ jobs:
|
||||
- name: Add repositories for newer GCC
|
||||
run: |
|
||||
sudo apt-add-repository ppa:ubuntu-toolchain-r/test
|
||||
if: ${{ matrix.cxx == 'g++-11' || matrix.cxx == 'g++-13' }}
|
||||
if: ${{ matrix.cxx == 'g++-13' }}
|
||||
|
||||
- name: Add Ubuntu mirrors
|
||||
run: |
|
||||
# GitHub Actions caching proxy is at times unreliable
|
||||
# see https://github.com/actions/runner-images/issues/7048
|
||||
printf 'http://azure.archive.ubuntu.com/ubuntu\tpriority:1\n' | sudo tee /etc/apt/mirrors.txt
|
||||
curl http://mirrors.ubuntu.com/mirrors.txt | sudo tee --append /etc/apt/mirrors.txt
|
||||
sudo sed -i 's~http://azure.archive.ubuntu.com/ubuntu/~mirror+file:/etc/apt/mirrors.txt~' /etc/apt/sources.list
|
||||
# see https://github.com/actions/runner-images/issues/7048.
|
||||
printf 'http://azure.archive.ubuntu.com/ubuntu\tpriority:1\n' | \
|
||||
sudo tee /etc/apt/mirrors.txt
|
||||
curl http://mirrors.ubuntu.com/mirrors.txt | \
|
||||
sudo tee --append /etc/apt/mirrors.txt
|
||||
sudo sed -i 's~http://azure.archive.ubuntu.com/ubuntu/~mirror+file:/etc/apt/mirrors.txt~' \
|
||||
/etc/apt/sources.list
|
||||
|
||||
- name: Create build environment
|
||||
run: |
|
||||
|
Reference in New Issue
Block a user