Skip to content

Commit 21b2ec6

Browse files
committed
try llvmpipe on CQ
1 parent c9515b9 commit 21b2ec6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ export const kConfig = process.env.CMAKE_BUILD_TYPE ?? 'Release';
99

1010
export const isMac = process.platform === 'darwin';
1111
export const isWin = process.platform === 'win32';
12+
export const isLinux = process.platform === 'linux';

test/functional-tests.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,5 @@ Promise.withResolvers = Promise.withResolvers ?? function() {
88
return o;
99
};
1010

11-
if (isWin || isMac) {
12-
await import('./tests/basic-tests.js');
13-
//await import('./tests/reference-count-tests.js');
14-
}
11+
await import('./tests/basic-tests.js');
12+
//await import('./tests/reference-count-tests.js');

test/webgpu.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import { create, globals } from '../index.js';
2-
import { isWin } from '../build/constants.js';
2+
import { isWin, isLinux } from '../build/constants.js';
33
import { addElemIf } from '../build/utils.js';
44

55
export function getGPU() {
66
const options = [];
77
if (!!process.env.WEBGPU_USE_CI_AVAILABLE_RENDERER) {
88
options.push(...addElemIf(isWin, 'adapter=Microsoft'));
9+
options.push(...addElemIf(isLinux, 'adapter=llvmpipe'));
910
}
1011
return { gpu: create(options), globals };
1112
}

0 commit comments

Comments
 (0)