.github/workflows: reenable 32bit Linux building

Closes #2667
This commit is contained in:
Hajime Hoshi 2023-05-29 00:17:37 +09:00
parent 4e535aa1a6
commit 6566a6d63f

View File

@ -127,6 +127,8 @@ jobs:
run: | run: |
sudo dpkg --add-architecture i386 sudo dpkg --add-architecture i386
sudo apt-get update sudo apt-get update
sudo apt-get install ppa-purge
sudo ppa-purge -y ppa:ubuntu-toolchain-r/test # Hack for 32bit Linux (#2667)
sudo apt-get install gcc-multilib sudo apt-get install gcc-multilib
sudo apt-get install libasound2-dev:i386 libgl1-mesa-dev:i386 libxcursor-dev:i386 libxi-dev:i386 libxinerama-dev:i386 libxrandr-dev:i386 libxxf86vm-dev:i386 sudo apt-get install libasound2-dev:i386 libgl1-mesa-dev:i386 libxcursor-dev:i386 libxi-dev:i386 libxinerama-dev:i386 libxrandr-dev:i386 libxxf86vm-dev:i386
env CGO_ENABLED=1 GOARCH=386 go test -shuffle=on -v ${{ runner.os == 'Linux' && '-p 1' || '' }} ./... env CGO_ENABLED=1 GOARCH=386 go test -shuffle=on -v ${{ runner.os == 'Linux' && '-p 1' || '' }} ./...