Commit graph

76 commits

Author SHA1 Message Date
kkocdko
e0b8fcc93e infra/workflow: Release a source archive without dev resources 2025-04-30 14:12:14 +09:00
Benson Muite
ed658cb8bd tools: Use binary names that are not generic
Prevent installation conflicts.
2025-04-02 15:42:47 +09:00
Hermet Park
7c3015ba28 infra: sync up the github labeler 2025-02-07 23:58:35 +09:00
Hermet Park
145195baac infra: removed beta tag from WebGPU
Removed beta tag for dev convenience. Also, ensures that
ThorVG will officially release WebGPU in the next version (v1.0)
2024-10-07 21:08:52 +09:00
JunsuChoi
e07824d577 infra: Improve valgrind result analysis syntax
Previously, if "definitely lost:" was included, it was always decided an error.
Therefore, I modified it to recognize the size and number of errors.
2024-10-04 16:57:08 +09:00
Hermet Park
27f173faa3 sw_engine: applied OpenMP to improve post-processing performance.
- OpenMp threads will be allocated alongside the TaskSculeduler::threads()
- Performance improved by 2x in a specific animation.
- Disable the thread feature in the Android build test due to system issues with OpenMP compilation.
2024-09-29 15:04:22 +09:00
Hermet Park
e40e4541a6 infra: updated labeler 2024-09-24 14:32:49 +09:00
JunsuChoi
7e4a568ec2 infra: Add PR labeler
Add a labeler that automatically creates labels when a pull request is created.
(You can edit the labeler by modifying ./.github/labeler.yml.)

https://github.com/thorvg/thorvg/issues/labels
2024-09-23 13:24:48 +09:00
Hermet Park
bcc2f5008c infra: updated ios arm64 build 2024-07-13 15:30:20 +09:00
Josh Soref
29325c0ff9 infra/workflow: Use GitHub Step Summary
Unlike comments, Step Summaries do not require permissions.
2024-07-03 13:17:10 +09:00
Josh Soref
effb58fc63 infra/workflow: Reduce workflow permissions
By explicitly listing the permissions required in general, repositories
without restrictive permissions will only allocate the specified
permissions which is much safer than the default, fairly wide,
permissions grant.

Most workflows don't appear to need any permissions beyond
`contents: read` which is required for checkout (when a repository is
private). By specifying this permission, it tells GitHub not to include
any of its additional default permissions (when a repository is
configured permissively).

The .github/workflows/memcheck_*.sh scripts called by build_ubuntu.yml
require write permissions in order to post their output to a pull
request (as a comment).

In locked down GitHub repositories, unless a workflow/job asks for
write permissions, it will not have them and such API calls will result
in:

{
  "message": "Resource not accessible by integration",
  "documentation_url": "https://docs.github.com/rest/issues/comments#create-an-issue-comment",
  "status": "403"
}

By specifically requesting the permissions, the workflow will continue
to work as expected.
2024-07-03 13:17:10 +09:00
Josh Soref
8663e33353 infra/workflow: Declare limited permissions for regression
Note that this workflow currently imagines writing a comment.
It does not actually try to do so, and thus there is no need to ask
for permission to use `pull-requests: write`.

If at some point, someone decides to fix that feature, they
will need to add that permission.

OTOH, using a GitHub Step Summary instead does not require any permissions.
2024-07-03 13:17:10 +09:00
Josh Soref
af0cb93836 infra/workflow: Only comment if there is output 2024-07-03 13:17:10 +09:00
Josh Soref
e061fa6628
common: fix 178+ spelling errors 2024-07-01 21:58:46 +09:00
Hermet Park
24a09896d0 infra/workflow: includes the gl engine build test. 2024-06-21 16:28:20 +09:00
Hermet Park
7a76c58057 infra: replaced efl install with sdl2 2024-06-20 17:49:18 +09:00
Rafał Mikrut
7a955108d6 Finding crashes and adding comments 2024-04-09 11:42:59 +09:00
Youjin Lee
ab49e2ee2b Modify txt file for cross-platform build setup
Following the Android developer guide (https://developer.android.com/ndk/guides/other_build_systems), added HOST_TAG to the directory.
2024-04-04 14:09:35 +09:00
Rafał Mikrut
25e6539ea7 Better regression testing 2024-03-20 12:09:48 +09:00
Hermet Park
f10283a905 infra: added open_collective fund account 2024-03-03 19:54:20 +09:00
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