mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-07 14:09:26 +00:00
coverage.yml: Drop ppa:ondrej/php removal
.. because image ubuntu-22.04 just stopped adding repository ppa:ondrej/php.
Related commit:
cc71c8b504
This commit is contained in:
parent
41c9daa337
commit
6c4749f395
1 changed files with 1 additions and 13 deletions
14
.github/workflows/coverage.yml
vendored
14
.github/workflows/coverage.yml
vendored
|
@ -45,7 +45,7 @@ jobs:
|
|||
- uses: actions/checkout@v3.1.0
|
||||
- name: Install build dependencies
|
||||
run: |-
|
||||
set -x -u -o pipefail
|
||||
set -x -u
|
||||
source /etc/os-release
|
||||
|
||||
sudo apt-get update
|
||||
|
@ -60,18 +60,6 @@ jobs:
|
|||
lzip \
|
||||
moreutils
|
||||
|
||||
# Get rid of packages installed from ppa:ondrej/php so that we will be able to install wine32:i386 without conflicts
|
||||
# (see issue https://github.com/actions/virtual-environments/issues/4589)
|
||||
# In detail we:
|
||||
# 1. Remove all packages that ppa:ondrej/php has but plain Ubuntu doesn't, e.g. everything PHP
|
||||
# 2. Revert (remaining) packages that ppa:ondrej/php and plain Ubuntu share, back to the plain Ubuntu version
|
||||
# 3. Assert that no packages from ppa:ondrej/php are left installed
|
||||
dpkg -l | grep '^ii' | grep -F deb.sury.org | awk '{print $2}' | grep '^php' \
|
||||
| xargs -r -t sudo apt-get remove --yes libpcre2-posix3 libzip4
|
||||
dpkg -l | grep '^ii' | grep -F deb.sury.org | awk '{print $2}' | sed "s,\$,/${UBUNTU_CODENAME}," \
|
||||
| xargs -r -t sudo apt-get install --yes --no-install-recommends --allow-downgrades -V
|
||||
! dpkg -l | grep '^ii' | grep -F deb.sury.org
|
||||
|
||||
# Install 32bit Wine
|
||||
sudo dpkg --add-architecture i386 # for wine32
|
||||
sudo apt-get update # due to new architecture
|
||||
|
|
Loading…
Add table
Reference in a new issue