Commit Graph

123 Commits

Author SHA1 Message Date
Alfi Maulana
27e324dd89 ci: use version 20 in the Setup Node.js steps (#130) 2023-12-13 14:55:51 +08:00
Alfi Maulana
b2c084d652 ci: use threeal/yarn-install-action in workflows (#128) 2023-12-13 13:07:33 +08:00
Alfi Maulana
423b7a9d0b ci: sparse checkout for action files in test workflow (#124)
* ci(test): only sparse checkout action files in action testing jobs

* refactor: rename `action.yml` config file to `action.yaml`
2023-12-13 13:07:14 +08:00
Alfi Maulana
ebeda19c51 build: rename bundle command to build command (#121) 2023-12-12 14:10:31 +08:00
Alfi Maulana
19dbdac998 ci: add check-package job in test workflow (#118)
* ci: move check steps to `check-package` job in `test` workflow

* ci(build): merge check differences step to bundle package step

* ci(test): check Yarn version in the `check-package` job
2023-12-12 14:03:02 +08:00
Alfi Maulana
3d7ddb3fa0 ci(test): remove runs on matrix OSs in the test-package job (#116) 2023-12-12 13:51:24 +08:00
Alfi Maulana
c4d2902c63 build: separate check command to format and lint commands (#114) 2023-12-12 13:45:47 +08:00
Alfi Maulana
96089ee386 test: write test in JavaScript (#108)
* test: map imported module from the distribution files

* chore: remove @jest/globals, @types/jest, and ts-jest from dependencies

* test: modify test files to JavaScript

* test: remove `testMatch` option in Jest (redundant)

* build: remove `tsconfig.eslint.json`

* ci(test): set `--experimental-vm-modules` only on `Test Package` step instead
2023-12-11 20:38:06 +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
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
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
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
0325477980 feat: add shell action input 2023-07-04 19:23:09 +07:00
Alfi Maulana
0a60e2eb74 feat: add build-dir action output 2023-07-02 19:21:30 +07:00
Alfi Maulana
f599e74b36 feat: add options input 2023-06-30 12:29:27 +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
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
dependabot[bot]
d9fbdd6b0a chore: bump actions/checkout from 3.5.2 to 3.5.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3.
- [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.2...v3.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 11:08:11 +00:00
dependabot[bot]
76cdde0cc0 chore: bump actions/checkout from 3.5.0 to 3.5.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.2.
- [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.0...v3.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 11:03:52 +00:00
dependabot[bot]
8e1c81bcba chore: bump actions/checkout from 3.4.0 to 3.5.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.4.0 to 3.5.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.4.0...v3.5.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>
2023-03-24 11:06:29 +00:00
Alfi Maulana
6a826ca25f ci: trigger test.yml workflow on pull request and push only on latest and main 2023-03-21 12:29:49 +07:00
dependabot[bot]
b6684cda7b Bump actions/checkout from 3.3.0 to 3.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.3.0 to 3.4.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.3.0...v3.4.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>
2023-03-16 10:51:25 +00:00
Alfi Maulana
ac31ad47de fix debug config when running test on MSVC 2023-01-22 13:45:46 +07:00
Alfi Maulana
354c02b686 replace test configuration with regex match 2023-01-22 13:07:56 +07:00
Alfi Maulana
c2bf81f4d3 ignore testing hello_world if building test_c and test_cpp 2023-01-22 12:53:38 +07:00
Alfi Maulana
c04ca4c05a add support to run test_c and test_cpp targets as a CMake test 2023-01-22 12:51:02 +07:00
Alfi Maulana
633b25cfad add support to run hello world target as a CMake test 2023-01-22 12:32:23 +07:00
Alfi Maulana
584ef59aad handle the default build dir to be relative to the source dir 2023-01-22 11:25:46 +07:00
Alfi Maulana
c51d734eb9 fix build results location on MSVC test 2023-01-17 13:12:17 +07:00
Alfi Maulana
716f237b51 disable warning as error on MSVC test 2023-01-17 13:12:11 +07:00
Alfi Maulana
250f59da81 run additional-flags-usage job on both GCC and MSVC 2023-01-17 12:46:36 +07:00
Alfi Maulana
657a82ee9f fix missing CHECK_SUPASS_WARNING in additional-flags-uasage job 2023-01-17 12:34:58 +07:00
Alfi Maulana
dd5801befd fix missing article in the steps's name 2023-01-14 19:52:58 +07:00
Alfi Maulana
08b5e950b4 add a job in test.yml workflow to test compiler flags inputs 2023-01-14 18:04:03 +07:00
Alfi Maulana
25a66e3c81 reword steps description in test.yml workflow 2023-01-14 17:00:53 +07:00
Alfi Maulana
ec0ec4113c rename jobs in test.yml workflow 2023-01-13 21:02:16 +07:00
Alfi Maulana
be74c742c5 remove -latex suffix in the matrix os strategy 2023-01-13 20:56:47 +07:00
Alfi Maulana
c72d4546ed remove use-action-with-specified-targets job 2023-01-13 20:54:39 +07:00
Alfi Maulana
965ce1d4a8 test using clang with ninja 2023-01-12 14:10:33 +07:00
Alfi Maulana
07b809b1eb use test_c and test_cpp with check for using clang in the use action with specified compiler job 2023-01-11 22:09:53 +07:00