mirror of
https://github.com/curl/curl.git
synced 2026-07-29 16:02:17 +03:00
GHA: sync apt-get code between workflows/jobs
- delete 3rd-party apt sources, where missing. - do `apt-get update`, where missing. Closes #22067
This commit is contained in:
parent
4e07b374dd
commit
766969be39
5 changed files with 9 additions and 0 deletions
1
.github/workflows/linux.yml
vendored
1
.github/workflows/linux.yml
vendored
|
|
@ -834,6 +834,7 @@ jobs:
|
|||
curl --disable --fail --silent --show-error --connect-timeout 15 --max-time 120 --retry 6 --retry-connrefused \
|
||||
--compressed https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | \
|
||||
sudo tee /etc/apt/trusted.gpg.d/intel-sw.asc >/dev/null
|
||||
sudo find /etc/apt/sources.list.d -type f -not -name 'ubuntu.sources' -delete -print
|
||||
sudo sed -i 's/priority:1/priority:9/' /etc/apt/apt-mirrors.txt; cat /etc/apt/apt-mirrors.txt
|
||||
sudo add-apt-repository 'deb https://apt.repos.intel.com/oneapi all main'
|
||||
sudo apt-get -o Dpkg::Use-Pty=0 install intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue