Commit Graph

185 Commits

Author SHA1 Message Date
Alfi Maulana
93c7c3a6ba
chore: add Git attributes for Yarn lock file and adjust other rule (#93)
* chore(git): add attribute for `yarn.lock` file

* chore(git): adjust attribute rule for `main/index.mjs`
2023-11-25 21:13:42 +08:00
dependabot[bot]
32e6687459
chore: bump @typescript-eslint/parser from 6.11.0 to 6.12.0 (#84)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.11.0 to 6.12.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.12.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-25 19:50:29 +08:00
dependabot[bot]
1a1b1ca50b
chore: bump typescript from 5.2.2 to 5.3.2 (#87)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.2.2 to 5.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-25 19:37:40 +08:00
Alfi Maulana
b3dad4773e
ci: adjust naming in workflows (#88)
* ci: remove `latest` branch from triggering workflow run

* ci: adjust job names in workflows

* ci: adjust step names in workflow jobs

* docs(readme): adjust naming in the example workflows

* ci: rename `test.yml` workflow to `test.yaml`
2023-11-22 09:59:54 +07:00
Alfi Maulana
434fbed336
chore: merge pull request #70 from threeal/js-action
Convert to JavaScript Action
2023-11-21 20:48:09 +07:00
Alfi Maulana
dd1c44061d
feat: install Ninja if it was not available (#82)
* feat: install Ninja if generator is Ninja

* feat: only install ninja if it was not installed
2023-11-21 20:45:38 +07:00
Alfi Maulana
ded3a0b2a3
feat: remove custom shell input (#81)
* ci: remove `specified-shell` job in the Test workflow

* feat: remove `shell` action input
2023-11-21 20:17:13 +07:00
Alfi Maulana
025d277e55
feat: pass more arguments during CMake configuration (#78)
* feat: parse and pass `generator` input

* feat: parse and pass `c-compiler` and `cxx-compiler` inputs

* feat: parse and pass `c-flags` and `cxx-flags` inputs

* feat: parse and pass `options` input

* feat: parse and pass `args` input
2023-11-20 21:52:38 +07:00
Alfi Maulana
1829bd6347
feat: run CTest from the JavaScript Action (#77)
* feat: run CTest if `run-test` is true

* feat: run CMake build if `run-test` set to true
2023-11-20 21:19:04 +07:00
Alfi Maulana
421f12e1db
feat: run CMake build from the JavaScript Action (#75)
* feat: add CMake build step

* feat: only run CMake build step if `run-build` input is true

* feat: pass `build-args` input to the CMake build command

* fix: split lines from `getMultilineInput` with a whitespace
2023-11-20 20:51:25 +07:00
Alfi Maulana
48cb08d783
feat: configure CMake from the JavaScript Action (#72)
* feat(action): modify to run `main/index.mjs` on Node 20

* feat: add configure cmake step

* feat: output build directory

* feat: get `source-dir` and `build-dir` inputs
2023-11-20 20:18:21 +07:00
Alfi Maulana
ed7c2d179c
build: initialize JavaScript Action project (#69)
* build: initialize JavaScript action project

* chore(dependabot): check for npm package updates

* style: ignore `main` dir and `README.md` from being formatted

* ci: add Build workflow that contains Build Package job

* ci: add Test Package job in the Test workflow

* test: add an empty `main.test.ts` test

* chore: adjust Git attributes for `main/index.mjs` file

* docs(readme): add a build status badge
2023-11-20 18:25:22 +07:00
Alfi Maulana
d27fb54a3f
chore: merge pull request #66 from threeal/update-dependabot-config
Update Dependabot Configuration
2023-10-22 23:21:50 +07:00
Alfi Maulana
d98bb3b37e
ci(dependabot): use chore as the PR label 2023-10-22 23:12:20 +07:00
Alfi Maulana
391a442e30
ci(dependabot): rename config file to dependabot.yaml 2023-10-22 23:11:32 +07:00
dependabot[bot]
988bf7f26e
chore: bump actions/checkout from 4.1.0 to 4.1.1 (#65)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-22 14:02:22 +07:00
dependabot[bot]
5ca5915cfe
chore: bump actions/checkout from 4.0.0 to 4.1.0 (#64)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 09:18:20 +07:00
dependabot[bot]
1a33b4f2ed
chore: bump actions/checkout from 3.6.0 to 4.0.0 (#63)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.6.0...v4.0.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 11:23:02 +08:00
dependabot[bot]
4560f6e97d
chore: bump actions/checkout from 3.5.3 to 3.6.0 (#62)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.3...v3.6.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 10:41:47 +08:00
Alfi Maulana
b684818e31
chore: merge pull request #55 from threeal/main
Version 1.3.0 Release
2023-08-10 09:55:29 +07:00
Alfi Maulana
961184a733
docs: update version to v1.3.0 in the readme file (#61) 2023-08-09 17:06:31 +08:00
Alfi Maulana
7ef2eb8da6
chore: merge pull request #58 from threeal/add-shell-inputs
Add `shell` Action Input
2023-07-04 19:34:23 +07:00
Alfi Maulana
ca8ab2ff60
docs: add documentation of shell action input 2023-07-04 19:24:49 +07:00
Alfi Maulana
0325477980
feat: add shell action input 2023-07-04 19:23:09 +07:00
Alfi Maulana
93a6d71ae6
chore: merge pull request #56 from threeal/update-description
Update Description
2023-07-02 22:16:29 +07:00
Alfi Maulana
9d9c70d257
docs: improve the description and features section in the readme file 2023-07-02 22:09:25 +07:00
Alfi Maulana
19d48ebea6
chore: merge pull request #53 from threeal/add-build-dir-output
Add `build-dir` Action Output
2023-07-02 19:44:37 +07:00
Alfi Maulana
0a52a2a373
docs: add "outputs" section in the README.md 2023-07-02 19:37:01 +07:00
Alfi Maulana
0a60e2eb74
feat: add build-dir action output 2023-07-02 19:21:30 +07:00
Alfi Maulana
555658bd6a
chore: merge pull request #51 from threeal/docs-fix-example
Adjust and Fix Examples in the Readme
2023-06-30 22:46:44 +07:00
Alfi Maulana
735354b97a
docs: adjust and fix examples 2023-06-30 14:13:09 +07:00
Alfi Maulana
699012010f
chore: merge pull request #50 from threeal/docs-rec-version
Adjust Recommended Version
2023-06-30 13:55:20 +07:00
Alfi Maulana
9f80f7200a
docs: replace @main with the latest version tag 2023-06-30 13:43:12 +07:00
Alfi Maulana
59b65a5b38
chore: merge pull request #49 from threeal/main
Version 1.2.0 Release
2023-06-30 13:31:14 +07:00
Alfi Maulana
f1a04790c4
chore: merge pull request #48 from threeal/add-options-input
Add `options` Input
2023-06-30 12:54:04 +07:00
Alfi Maulana
ce8b638dea
docs: replace @latest with @main 2023-06-30 12:50:35 +07:00
Alfi Maulana
fc5e82e9e0
docs: describe how each inputs append the CMake arguments 2023-06-30 12:44:02 +07:00
Alfi Maulana
f599e74b36
feat: add options input 2023-06-30 12:29:27 +07:00
Alfi Maulana
e774bd0f0d
chore: merge pull request #47 from threeal/default-to-no-build
Default to No Build
2023-06-29 23:37:09 +07:00
Alfi Maulana
75d5a7178b
docs: add cmake build and ctest steps example 2023-06-29 23:31:04 +07:00
Alfi Maulana
a320b8e14b
style: use a better step names in test.yml workflow 2023-06-29 23:18:54 +07:00
Alfi Maulana
d0fef383d5
feat: auto enable run-build if run-test is enabled 2023-06-29 23:17:28 +07:00
Alfi Maulana
baf303f121
ci: merge jobs for testing action with specified generator and compilers 2023-06-29 23:11:10 +07:00
Alfi Maulana
cc3b1b7f50
feat: modify how build targets and run tests steps got enabled 2023-06-29 22:59:16 +07:00
Alfi Maulana
4e05d6cf4f
ci: fix by specified test configuration on Windows 2023-06-29 22:50:43 +07:00
Alfi Maulana
09bf642a9f
ci: fix by specified test to run 2023-06-29 20:28:36 +07:00
Alfi Maulana
b5b08aba16
ci: disable fail fast in job with matrix strategy 2023-06-29 20:20:04 +07:00
Alfi Maulana
62ad24196f
ci: expand jobs to test for run-build and run-test inputs 2023-06-29 20:13:23 +07:00
Alfi Maulana
f1910e1a56
feat: replace targets input with the more general build-args input 2023-06-29 19:32:21 +07:00
Alfi Maulana
3430da8dad
feat: add the run-build input 2023-06-29 19:20:09 +07:00