mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
test
This commit is contained in:
parent
158d9f71d1
commit
97442dfe60
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@ -39,5 +39,6 @@ jobs:
|
||||
- name: go test (Wasm)
|
||||
run: |
|
||||
cp .github/workflows/wasm_exec.js $(go env GOROOT)/misc/wasm/wasm_exec.js
|
||||
env GOOS=js GOARCH=wasm go test -shuffle=on -v ./...
|
||||
env GOOS=js GOARCH=wasm EBITENGINE_OPENGL=webgl1 go test -shuffle=on -v ./...
|
||||
GO_FULLPATH=$(which go)
|
||||
env GOOS=js GOARCH=wasm PATH= $GO_FULLPATH test -shuffle=on -v ./...
|
||||
env GOOS=js GOARCH=wasm EBITENGINE_OPENGL=webgl1 PATH= $GO_FULLPATH test -shuffle=on -v ./...
|
||||
|
5
.github/workflows/wasm_exec.js
vendored
5
.github/workflows/wasm_exec.js
vendored
@ -506,11 +506,8 @@
|
||||
|
||||
const keys = Object.keys(this.env).sort();
|
||||
keys.forEach((key) => {
|
||||
if (key === "PATH") {
|
||||
return;
|
||||
}
|
||||
argvPtrs.push(strPtr(`${key}=${this.env[key]}`));
|
||||
console.log(`${key}=${this.env[key]} (offset: ` + offset + ')');
|
||||
console.log(`${key}=${this.env[key]}, offset(` + offset + `)` );
|
||||
});
|
||||
argvPtrs.push(0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user