feat: add configure cmake step

This commit is contained in:
Alfi Maulana 2023-11-20 19:00:56 +07:00
parent 335081b74b
commit afc21be224
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4
4 changed files with 1355 additions and 0 deletions

1328
main/index.mjs generated

File diff suppressed because it is too large Load Diff

View File

@ -7,6 +7,9 @@
"check": "sort-package-json && prettier --write . !main !README.md && eslint src",
"test": "jest"
},
"dependencies": {
"@actions/exec": "^1.1.1"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.8",

View File

@ -0,0 +1,7 @@
import exec from "@actions/exec";
async function main() {
await exec.exec("cmake", [".", "-B", "build"]);
}
main();

View File

@ -12,6 +12,22 @@ __metadata:
languageName: node
linkType: hard
"@actions/exec@npm:^1.1.1":
version: 1.1.1
resolution: "@actions/exec@npm:1.1.1"
dependencies:
"@actions/io": "npm:^1.0.1"
checksum: 4a09f6bdbe50ce68b5cf8a7254d176230d6a74bccf6ecc3857feee209a8c950ba9adec87cc5ecceb04110182d1c17117234e45557d72fde6229b7fd3a395322a
languageName: node
linkType: hard
"@actions/io@npm:^1.0.1":
version: 1.1.3
resolution: "@actions/io@npm:1.1.3"
checksum: 5b8751918e5bf0bebd923ba917fb1c0e294401e7ff0037f32c92a4efa4215550df1f6633c63fd4efb2bdaae8711e69b9e36925857db1f38935ff62a5c92ec29e
languageName: node
linkType: hard
"@ampproject/remapping@npm:^2.2.0":
version: 2.2.1
resolution: "@ampproject/remapping@npm:2.2.1"
@ -1572,6 +1588,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "cmake-action@workspace:."
dependencies:
"@actions/exec": "npm:^1.1.1"
"@jest/globals": "npm:^29.7.0"
"@types/jest": "npm:^29.5.8"
"@types/node": "npm:^20.9.0"