Skip to content

Commit 81a1ed5

Browse files
committed
[CI] fix wine installation
based on actions/runner-images#4589 (comment)
1 parent a31e3d1 commit 81a1ed5

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/io-test.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,10 @@ jobs:
101101
102102
- name: Install wine
103103
run: |
104-
104+
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
105105
sudo dpkg --add-architecture i386
106-
sudo sh -c "curl https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor > /etc/apt/trusted.gpg.d/winehq.gpg"
107-
sudo sh -c "apt-add-repository \"https://dl.winehq.org/wine-builds/ubuntu\""
108-
sudo apt update
109-
sudo apt-get install -yqq --allow-downgrades libgd3/jammy libpcre2-8-0/jammy libpcre2-16-0/jammy libpcre2-32-0/jammy
110-
sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
111-
echo "/opt/wine-staging/bin" >> $GITHUB_PATH
112-
sudo apt install -y --install-recommends wine-staging="7.17~jammy-1" wine-staging-i386="7.17~jammy-1" wine-staging-amd64="7.17~jammy-1"
106+
sudo apt-get update -qq
107+
sudo apt-get install -yqq --allow-downgrades libc6:i386 libgcc-s1:i386 libstdc++6:i386 wine
113108
114109
- name: Test with pytest
115110
run: |

0 commit comments

Comments
 (0)