Commit graph

54 commits

Author SHA1 Message Date
Hermet Park
9db82db7d7 infra: remove codeql.
Currently, CodeQL is not functioning, but we have applied another tool:
https://www.codefactor.io/repository/github/hermet/thorvg
2024-02-07 16:28:20 +09:00
Junsu Choi
df4f93e79f loader/webp: Support static webp loader
Built to libwebp code in to support the static option of webp loader.
Code from :https://github.com/jacklicn/libwebp

This forking version only contains the minimal webp decoding feature.

Binary Size: +68kb

Co-authored-by: Hermet Park <hermet@lottiefiles.com>

issue: https://github.com/thorvg/thorvg/issues/1427
2024-02-07 10:58:25 +09:00
JunsuChoi
509181bf2a infra/window: Remove version fix of meson
Version 0.58 find missing libraries and causes an error.
(ex: libwebp 1.0).
There is no need to fix the current version, so always use the latest version.
2024-02-06 10:52:58 +09:00
Hermet Park
cc868e2248 infra: fix git-action ios break 2023-11-16 15:37:30 +09:00
Jinny You
0c9827a9ed infra: fix macos build crash 2023-11-15 13:45:38 +09:00
Hermet Park
8a5418ed8b infra: add android CI build test with necessary cross build config. 2023-10-09 20:24:07 +09:00
Hermet Park
b69c3b1af3 infra/gitaction: fix a broken macos/ios CI build. 2023-10-09 15:39:59 +09:00
Hermet Park
4c3cdb38b5 infra: migrate cross files into one folder. 2023-10-09 15:39:59 +09:00
Hermet Park
aa83ed46e4 infra/gitaction: corrected meson build commands
meson "setup" is a mandatory command. skipping has been deprecated.
2023-10-04 12:24:42 +09:00
Hermet Park
4dfee84148 infra/ios: added basic CI git action workflow. 2023-10-04 12:24:42 +09:00
Hermet Park
dc67c405f8
infra/gitaction: hotfix system buid fail. 2023-09-22 16:25:26 +09:00
Hermet Park
20d2760bf4
infra/gitaction: trouble shooting macos build failure 2023-09-22 10:47:01 +09:00
Hermet Park
5b8999e417 infra: updated gitaction CI build test with MacOS
@Issue: https://github.com/thorvg/thorvg/issues/1433
2023-09-13 12:33:16 +09:00
Hermet Park
15c5bfacec infra github: updated the main branch name. 2023-08-01 02:08:36 +09:00
Hermet Park
a0e6aead95 infra github: keep the loader tries load all. 2023-06-09 11:13:28 +09:00
JunsuChoi
595cc56e86 webp_loader: Introduce Webp image loader
Add external_webp loader which uses libwebp library.
2023-06-09 10:58:01 +09:00
Martin Capitanio
42a04bbc77 CI: Fix ubuntu-latest apt-get install ... 404 Not Found. 2023-05-23 14:49:58 +09:00
Rafał Mikrut
56d18f37c3 infra: Improve regression finder 2023-05-08 10:38:27 +09:00
Rafał Mikrut
e8b1c654d4 Regression finder 2023-04-26 11:19:12 +09:00
Hermet Park
02bc89fc93 infra github: adds static loader test 2023-04-21 08:29:19 +09:00
Hermet Park
a5e84ce791 infra github: compact actions & added tools build.
Still windows action needs unit_test & examples.

@https://github.com/thorvg/thorvg/issues/1378
2023-04-21 08:29:19 +09:00
Hermet Park
a2d93b7d37 infra github: compact actions & supplement verfication. 2023-04-21 08:29:19 +09:00
Hermet Park
91781abf0d infra github: changed the file name for clarity. 2023-04-21 08:29:19 +09:00
Hermet Park
7bb6713505 infra github: ++minor changes. 2023-04-13 12:08:56 +09:00
Hermet Park
4709c8195f infra github: bump up version
Node.js 12 actions were deprecated.
Updated the script to use a more recent version.
2023-04-13 10:56:14 +09:00
Hermet Park
d694e6adef infra github: updated script
Specify the build option "all" for the future expansion.
2023-04-13 10:56:04 +09:00
Hermet Park
e44a1c1ee9 infra github: apply codeql
Setup a bot script to run codeql.
It discovers vulnerabilities across a thorvg codebase.

See: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/viewing-code-scanning-logs
2023-04-13 10:54:45 +09:00
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