Skip to content

Commit 1526f81

Browse files
committed
added cvc4 and princess, untested
1 parent 69db12d commit 1526f81

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

src/main.ts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,42 @@ export async function run(): Promise<void> {
103103
}
104104
}
105105

106+
const cvc4Version = core.getInput('cvc4Version')
107+
const CVC4_TOOL: Tools = {
108+
linux: {
109+
url: `https://github.com/CVC4/CVC4/releases/download/${cvc4Version}/cvc4-${cvc4Version}-x86_64-linux-opt`,
110+
format: 'file',
111+
binPath: ''
112+
},
113+
windows: {
114+
url: `https://github.com/CVC4/CVC4/releases/download/${cvc4Version}/cvc4-${cvc4Version}-win64-opt.exe`,
115+
format: 'file',
116+
binPath: ''
117+
},
118+
macos: undefined
119+
}
120+
121+
const princessVersion = core.getInput('princessVersion') // 2024-11-08
122+
const PRINCESS_TOOL: Tools = {
123+
linux: {
124+
url: `https://github.com/uuverifiers/princess/releases/download/snapshot-${princessVersion}/princess-bin-${princessVersion}.zip`,
125+
format: 'zip',
126+
binPath: `princess-bin-${princessVersion}/bin/`
127+
},
128+
windows: {
129+
url: `https://github.com/uuverifiers/princess/releases/download/snapshot-${princessVersion}/princess-bin-${princessVersion}.zip`,
130+
format: 'zip',
131+
binPath: `princess-bin-${princessVersion}/bin/`
132+
},
133+
macos: {
134+
url: `https://github.com/uuverifiers/princess/releases/download/snapshot-${princessVersion}/princess-bin-${princessVersion}.zip`,
135+
format: 'zip',
136+
binPath: `princess-bin-${princessVersion}/bin/`
137+
}
138+
}
139+
106140
await download('cvc5', cvc5Version, CVC5_TOOL)
107141
await download('z3', z3Version, Z3_TOOL)
142+
await download('cvc4', cvc4Version, CVC4_TOOL)
143+
await download('princess', princessVersion, PRINCESS_TOOL)
108144
}

0 commit comments

Comments
 (0)