mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-29 10:17: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
|
- name: Add repositories for newer GCC
|
||||||
run: |
|
run: |
|
||||||
sudo apt-add-repository ppa:ubuntu-toolchain-r/test
|
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
|
- name: Add Ubuntu mirrors
|
||||||
run: |
|
run: |
|
||||||
# GitHub Actions caching proxy is at times unreliable
|
# GitHub Actions caching proxy is at times unreliable
|
||||||
# see https://github.com/actions/runner-images/issues/7048
|
# 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
|
printf 'http://azure.archive.ubuntu.com/ubuntu\tpriority:1\n' | \
|
||||||
curl http://mirrors.ubuntu.com/mirrors.txt | sudo tee --append /etc/apt/mirrors.txt
|
sudo tee /etc/apt/mirrors.txt
|
||||||
sudo sed -i 's~http://azure.archive.ubuntu.com/ubuntu/~mirror+file:/etc/apt/mirrors.txt~' /etc/apt/sources.list
|
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
|
- name: Create build environment
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user