This commit is contained in:
Hajime Hoshi 2023-01-21 00:10:44 +09:00
parent 4d5261d180
commit bd546e949c

View File

@ -38,7 +38,7 @@ jobs:
- name: go test (Wasm)
run: |
env
${{ runner.os == 'Windows' && 'unset $(env | awk -F= "{print $1}" | grep -v -x -e "^(PATH|TEMP|TMP)$")' || '' }}
# Remove a wrong environment variable
echo "PSModulePath=" >> $GITHUB_ENV
env GOOS=js GOARCH=wasm go test -shuffle=on -v ./...
env GOOS=js GOARCH=wasm EBITENGINE_OPENGL=webgl1 go test -shuffle=on -v ./...