.github/workflows: add -p=1 for Linux

Updates #2571
This commit is contained in:
Hajime Hoshi 2023-03-01 21:13:24 +09:00
parent 8f610a7f9d
commit c7272cf9ba

View File

@ -120,7 +120,7 @@ jobs:
# TODO: Add more test environments (#1305)
if: runner.os == 'Linux' || runner.os == 'Windows'
run: |
go test -shuffle=on -v ./...
go test -shuffle=on -v ${{ runner.os == 'Linux' && '-p 1' || '' }} ./...
- name: go test (Linux 386)
if: runner.os == 'Linux'
@ -129,13 +129,13 @@ jobs:
sudo apt-get update
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
env CGO_ENABLED=1 GOARCH=386 go test -shuffle=on -v ./...
env CGO_ENABLED=1 GOARCH=386 go test -shuffle=on -v ${{ runner.os == 'Linux' && '-p 1' || '' }} ./...
- name: go test (Linux OpenGL ES)
if: runner.os == 'Linux'
run: |
sudo apt-get install libgles2-mesa-dev
env EBITENGINE_GRAPHICS_LIBRARY=opengl EBITENGINE_OPENGL=es go test -shuffle=on -v ./...
env EBITENGINE_GRAPHICS_LIBRARY=opengl EBITENGINE_OPENGL=es go test -shuffle=on -v ${{ runner.os == 'Linux' && '-p 1' || '' }} ./...
- name: go test (Windows 386)
if: runner.os == 'Windows'