Commit Graph

9 Commits

Author SHA1 Message Date
Alfi Maulana
3ca3a29821
refactor: remove main function and move its content to top level (#298) 2024-04-15 21:22:35 +08:00
Alfi Maulana
d83693c521
feat: remove redundant specification of CMake source directory (#273)
* feat: remove setting the default of `source-dir` to `.`

* feat: append source dir to configure Cmake args only if specified
2024-03-25 14:03:03 +08:00
Alfi Maulana
21ddda7def
fix: fix default build dir not relative to source dir (#269)
* test: fix get action inputs test when source dir specified

* fix: default build dir should relative to source dir

* ci: fix test directory location
2024-03-25 12:25:14 +08:00
Alfi Maulana
0df49588a5
refactor: add CMake execution functions (#263)
* refactor: add `configureProject` function from lines in `main` function

* test: add test for `configureProject` function

* refactor: add `buildProject` function from lines in `main` function
2024-03-24 23:41:08 +08:00
Alfi Maulana
4427f0f36d
feat: remove support for auto-install Ninja (#258)
* feat: remove support for auto-installing Ninja

* ci: add step for setting up Ninja in `test-action-with-custom-tools` job

* docs: update readme related to auto-install Ninja support removal
2024-03-22 18:14:44 +08:00
Alfi Maulana
ebf367c0a0
feat: remove support for testing CMake projects (#256)
* feat: remove `run-test` and `test-args` action inputs

* docs: remove description for supporting testing
2024-03-22 17:06:56 +08:00
Alfi Maulana
30c1178974
feat: add function for getting action inputs (#225)
* feat: add `getInputs` function

* feat: specify default input value in `getInputs` function
2024-03-04 22:53:41 +08:00
Alfi Maulana
d37829ef6a
build: build distribution files directly from TypeScript files (#221)
* build: build dist directly from TypeScript sources

* build(ts): adjust options in `tsconfig.json`

* fix: import all instead of default in @actions modules
2024-03-04 21:16:05 +08:00
Alfi Maulana
e0f6aeea02
refactor: rename source files extension to .ts (#219) 2024-03-04 21:01:48 +08:00