.github/workflows: reenable 32bit Linux building

Closes #2667
This commit is contained in:
Hajime Hoshi 2023-05-29 00:17:37 +09:00
parent baea6d47ee
commit af767c5d8d

View File

@ -122,10 +122,12 @@ jobs:
go test -shuffle=on -v -p=1 ./... go test -shuffle=on -v -p=1 ./...
- name: go test (Linux 386) - name: go test (Linux 386)
if: false # This is tempoarily disabled due to an issue in GitHub Actions (#2667). if: runner.os == 'Linux'
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 -p=1 ./... env CGO_ENABLED=1 GOARCH=386 go test -shuffle=on -v -p=1 ./...