Commit graph

29 commits

Author SHA1 Message Date
JunsuChoi
6ffe391c5d infra: Disable cpp lint checker
When we do 1.0 release, we clean up the coding style of all codes.
Currently, there are limitations in our coding style and lint settings.
This results in unnecessary bot comments.
2023-01-30 13:37:47 +09:00
JunsuChoi
0a1606aed3 infra: Disable unit test in window CI
Symbol file generation for compiling test code in CI fails.
It's not caused by recent patches.
We don't test until we know the exact cause.
However, loader test is added to check the safety of window build.

Error Log

[45/68] Generating symbol file src/thorvg-0.dll.p/thorvg-0.dll.symbols
FAILED: src/thorvg-0.dll.p/thorvg-0.dll.symbols
"C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts\meson" "--internal" "symbolextractor" "D:\a\thorvg\thorvg\build" src/thorvg-0.dll "src\thorvg.lib" src/thorvg-0.dll.p/thorvg-0.dll.symbols
2022-02-10 12:56:09 +09:00
JunsuChoi
ad132eae12 infra: Fix ubuntu version and meson install
libefl-dev -> libefl-all-dev
ubuntu 19 -> 20
meson user install -> root install
2022-01-17 15:04:16 +09:00
JunsuChoi
5e81beec53 infra stylebot: Delete existing comments
In order to avoid duplication of the already created comment,
already created results will be deleted.
2021-11-23 14:52:01 +09:00
JunsuChoi
e0c3fafb18
infra bot: Add Memcheck bot (AddressSanitizer)
If a leak occurs in the test result, the bot notifies the PR as a comment.
This notify may not be directly related to the created current PR.
2021-11-17 18:52:15 +09:00
JunsuChoi
d91d3ef6fa infra: Use latest meson version
0.45 -> latest. For b_sanitize option. (0.45 version is not supported).
2021-11-17 16:49:10 +09:00
JunsuChoi
e2c7599769 infra bot: Hotfix memcheck bot for push event 2021-11-12 17:18:05 +09:00
JunsuChoi
d7973e9330 infra bot: Add Memcheck bot (valgrind)
If the unit test is successful, valgrind memory check is executed based on the test.
If a leak occurs in the test result, the bot notifies the PR as a comment.
This notify may not be directly related to the created current PR.

(Asan is on hold because it is not well tested in the github action CI environment.)
2021-11-12 16:14:00 +09:00
JunsuChoi
b83d6c6419 infra: Add build test after patch merged
This test works after the patch is merged into the master branch.
2021-11-11 17:59:20 +09:00
JunsuChoi
71324e2e1d infra action: Enable to run test(window build)
use static png, jpg library
2021-10-28 15:33:48 +09:00
Hermet Park
b02af7d77b infra: renamed build badge names. 2021-10-07 15:38:47 +09:00
JunsuChoi
5e7981106b infra : add window build (with loaders) 2021-10-07 15:00:48 +09:00
JunsuChoi
78b5ee4234 infra: Change test name
Build Test -> Build(Linux)
2021-10-06 22:07:26 +09:00
JunsuChoi
5124a9ad6b infra: Add window build test in CI
Add build test for normal build
2021-10-06 10:44:51 +09:00
Hermet Park
75e1310c7a prepare to release tvg format feature. 2021-09-16 17:46:10 +09:00
Hermet Park
b0c23451f9 infra: update build test tvg -> tvg_beta
update it as acoording to the last change before v0.4
2021-08-09 13:57:35 +09:00
Hermet Park
cc0abf18cb infra: add tvg saver in build test 2021-07-22 12:04:34 +09:00
Michal Maciola
23db42e41c
github actions: added tvg and jpg loaders (#613)
* github actions: added tvg and jpg loaders

* github actions: added tvg and jpg loaders fix #1

Added install libturbojpeg
2021-07-15 09:24:13 +09:00
Hermet Park
0d9edfd64c infra: enable capi unit-test in default 2021-07-06 09:43:47 +09:00
Hermet Park
1b94ff63ef infra: ++ strict build test
Enable png loader in default.
2021-07-02 12:07:53 +09:00
Hermet Park
bb68a2d514 infra: ++ strict build test
Enable log in default.
2021-06-30 15:18:40 +09:00
JunsuChoi
d92a2c25f6 infra CI: Upload unit test result to artifact
Users can download the unit test result list from PR-> Checks -> Build Test -> Artifacts.
2021-06-17 21:50:13 +09:00
JunsuChoi
0d28bdfc07 infra CI: Fix test flag of test build
test -> tests
2021-06-17 21:49:54 +09:00
Hermet Park
f676d6a25c infra: remove PULL REQUEST TEMPLATE.
By far, this is not so useful since commit message template and PR is very simliar.

It just bring messing up the PR contents.

Rather than it, we don't allow violating commit message rules. So... its unnecessary.

See CONTRIBUTING.md
2021-05-11 22:24:15 +09:00
JunsuChoi
94f3d0dc11 infra Actions: If no coding style error, no comment
and change action name
2021-04-28 19:53:45 +09:00
JunsuChoi
2657acc1bc common: Fix ubuntu version in build test
github action started updating to ubuntu20.04 for ubuntu-latest.
So fix Ubuntu version 18.04 as we are not ready enough to test for 20.04 yet.
2021-02-19 14:32:51 +09:00
JunsuChoi
e5f59b53a4 infra CI: Introduce new build test with github action
This is a build checker using the github action.
When a pull request occurs this action does a basic build,
example build, build with test.
2021-02-19 12:59:35 +09:00
JunsuChoi
6a4598f706 infra coding_style: Add coding style check bot
Add a bot that checks the coding style using cpplint
and reports the result as a review comment.

This feature refers to the repository where cpplint
and docker settings with github-action.
This action works whenever a PR is created and updated.

In cpplint, only the violation of ThorVG's coding style is reported
as a warning using several options.
whitespace/parens
whitespace/indent
whitespace/end_of_line
whitespace/blank_line

The bot will review all of the contents of all files in the current commit file list,
However, in the future, we will improve Bot to only review the changes.
2021-02-18 14:00:21 +09:00
JunsuChoi
4de26d7c86
Add PULL_REQUEST_TEMPLATE.md (#92)
[Template]
- Description :

- Issue Tickets (if any) :

- Tests or Samples (if any) :

- Screen Shots (if any) :
2020-10-07 16:27:50 +09:00