Skip to content

Commit 8bbc965

Browse files
committed
Cleanup build config
1 parent dd780fd commit 8bbc965

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/linux.yml

+7-9
Original file line numberDiff line numberDiff line change
@@ -126,18 +126,16 @@ jobs:
126126
clang-3.6_3.6.2-3ubuntu2_amd64.deb
127127
if: ${{ matrix.cxx == 'clang++-3.6' }}
128128

129-
- name: Add repositories for newer GCC
130-
run: |
131-
sudo apt-add-repository ppa:ubuntu-toolchain-r/test
132-
if: ${{ matrix.cxx == 'g++-11' || matrix.cxx == 'g++-13' }}
133-
134129
- name: Add Ubuntu mirrors
135130
run: |
136131
# GitHub Actions caching proxy is at times unreliable
137-
# see https://github.com/actions/runner-images/issues/7048
138-
printf 'http://azure.archive.ubuntu.com/ubuntu\tpriority:1\n' | sudo tee /etc/apt/mirrors.txt
139-
curl http://mirrors.ubuntu.com/mirrors.txt | sudo tee --append /etc/apt/mirrors.txt
140-
sudo sed -i 's~http://azure.archive.ubuntu.com/ubuntu/~mirror+file:/etc/apt/mirrors.txt~' /etc/apt/sources.list
132+
# see https://github.com/actions/runner-images/issues/7048.
133+
printf 'http://azure.archive.ubuntu.com/ubuntu\tpriority:1\n' | \
134+
sudo tee /etc/apt/mirrors.txt
135+
curl http://mirrors.ubuntu.com/mirrors.txt | \
136+
sudo tee --append /etc/apt/mirrors.txt
137+
sudo sed -i 's~http://azure.archive.ubuntu.com/ubuntu/~mirror+file:/etc/apt/mirrors.txt~' \
138+
/etc/apt/sources.list
141139
142140
- name: Create build environment
143141
run: |

0 commit comments

Comments
 (0)