Merge pull request #116 from ekrctb/fix-i386

Workaround GitHub Action ubuntu-20.04 image issue
This commit is contained in:
Dean Herbert 2022-05-23 14:36:45 +09:00 committed by GitHub
commit 0b5cb56c74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,8 +27,17 @@ jobs:
- name: Setup Linux dependencies
if: runner.os == 'Linux'
run: |
[[ ${{ matrix.platform.target_apt_arch }} == :i386 ]] && sudo dpkg --add-architecture i386
if [[ ${{ matrix.platform.target_apt_arch }} == :i386 ]]; then
sudo dpkg --add-architecture i386
fi
sudo apt-get update -y -qq
if [[ ${{ matrix.platform.target_apt_arch }} == :i386 ]]; then
# Workaround GitHub's ubuntu-20.04 image issue <https://github.com/actions/virtual-environments/issues/4589>
sudo apt-get install -y --allow-downgrades libpcre2-8-0=10.34-7
fi
sudo apt-get install -y \
gcc-multilib \
g++-multilib \