-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.binaries.config.mjs
83 lines (83 loc) · 2.5 KB
/
build.binaries.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
export default {
targets: ['win64', 'ubuntu64', 'macos64'],
sources: [
{
name: 'glslangValidator',
type: 'githubrelease',
verargs: ['--version'],
vermatch: /Glslang Version:\s*10:([^$\r\n]+)/i,
repo: 'KhronosGroup/glslang',
matchers: {
win64: /glslang.*windows.*x64.*release/i,
ubuntu64: /glslang.*linux.*release/i,
macos64: /glslang.*osx.*release/i,
},
filelist: {
win64: ['bin/glslangValidator.exe'],
ubuntu64: ['bin/glslangValidator'],
macos64: ['bin/glslangValidator'],
},
},
{
name: 'spirv-opt',
type: 'spirvtoolsci',
verargs: ['--version'],
vermatch: /SPIRV-Tools\s*([^$\r\n]+)/i,
urls: {
win64: 'https://storage.googleapis.com/spirv-tools/badges/build_link_windows_vs2017_release.html',
ubuntu64: 'https://storage.googleapis.com/spirv-tools/badges/build_link_linux_clang_release.html',
macos64: 'https://storage.googleapis.com/spirv-tools/badges/build_link_macos_clang_release.html',
},
matchers: {
win64: /windows.*\/([^-/]+)-[^/]+\/([^/]+)$/i,
ubuntu64: /linux.*\/([^-/]+)-[^/]+\/([^/]+)$/i,
macos64: /macos.*\/([^-/]+)-[^/]+\/([^/]+)$/i,
},
filelist: {
win64: ['install/bin/spirv-opt.exe'],
ubuntu64: ['install/bin/spirv-opt'],
macos64: ['install/bin/spirv-opt'],
},
},
{
name: 'spirv-cross',
type: 'githubrelease',
verargs: ['--revision'],
vermatch: /Timestamp:\s*([^T$\r\n]+)T/i,
repo: 'KhronosGroup/SPIRV-Cross',
matchers: {
win64: /spirv-cross.*vs20.*64bit/i,
ubuntu64: /spirv-cross.*clang.*trusty.*64bit/i,
macos64: /spirv-cross.*clang.*macos.*64bit/i,
},
filelist: {
win64: ['bin/spirv-cross.exe'],
ubuntu64: ['bin/spirv-cross'],
macos64: ['bin/spirv-cross'],
},
},
],
include: [
{
name: 'glslangValidator LICENSE',
url: 'https://raw.githubusercontent.com/KhronosGroup/glslang/master/LICENSE.txt',
fileList: [
'glslangValidator-LICENSE',
],
},
{
name: 'spirv-opt LICENSE',
url: 'https://raw.githubusercontent.com/KhronosGroup/SPIRV-Tools/master/LICENSE',
fileList: [
'spirv-opt-LICENSE',
],
},
{
name: 'spirv-cross LICENSE',
url: 'https://raw.githubusercontent.com/KhronosGroup/SPIRV-Cross/master/LICENSE',
fileList: [
'spirv-cross-LICENSE',
],
},
],
};