Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
428 commits
Select commit Hold shift + click to select a range
41642ea
fix linux plugin trigger [skip ci]
JCash Nov 21, 2025
4a832c4
debug linux plugin [skip ci]
JCash Nov 21, 2025
35d17ff
Updated scripts for downloading our protoc [skip ci]
JCash Nov 21, 2025
b5ed7ba
removed vanilla protoc
JCash Nov 22, 2025
6f0baba
Try building using "rive_pls_renderer" instead change. [skip ci]
JCash Nov 22, 2025
431c65a
Revert back to use "with-libs-only"
JCash Nov 22, 2025
47e7f1d
moved download script [skip ci]
JCash Nov 22, 2025
e46685e
removed sysroot argument and added fpic argument for linux [skip ci]
JCash Nov 22, 2025
1c115ae
Cleaned up the patch a bit [skip ci]
JCash Nov 22, 2025
57e1b62
renamed to repo_root [skip ci]
JCash Nov 22, 2025
ec4b649
install tree, for easier debugging when things aren't installed corre…
JCash Nov 22, 2025
52f1b26
fixed download script [skip ci]
JCash Nov 22, 2025
7f1e0f1
debugging protoc [skip ci]
JCash Nov 22, 2025
7de9cbd
set correct protoc bin path [skip ci]
JCash Nov 22, 2025
63c3faf
path fix for non macos [skip ci]
JCash Nov 22, 2025
b2f1017
build fix [skip ci]
JCash Nov 22, 2025
946f842
added win32 plugin support [skip ci]
JCash Nov 22, 2025
26b9d24
added win32 plugin support [skip ci]
JCash Nov 22, 2025
60baf00
indent fix [skip ci]
JCash Nov 22, 2025
4a21397
test windows plugin again [skip ci]
JCash Nov 22, 2025
017afea
use find_program to locate PROTOC [skip ci]
JCash Nov 22, 2025
d70cf29
Fix of inconsistent cmake config type [skip ci]
JCash Nov 22, 2025
f440dbc
try setting the configuration types manually [skip ci]
JCash Nov 22, 2025
67fd411
Set flags for RELWITHDEBINFO. debug proj file [skip ci]
JCash Nov 22, 2025
1052b84
more debug [skip ci]
JCash Nov 22, 2025
d65f08c
Add a newer version of log.h to includes [skip ci]
JCash Nov 22, 2025
289281f
removed NDEBUG from defines. patched log.h [skip ci]
JCash Nov 22, 2025
3fc2b39
enable c++230 for windows [skip ci]
JCash Nov 22, 2025
9977401
fix c++20 issues for win32 [skip ci]
JCash Nov 22, 2025
4b151b7
compile fix [skip ci]
JCash Nov 22, 2025
f05e906
debug [skip ci]
JCash Nov 22, 2025
4e625da
implemented default contructors [skip ci]
JCash Nov 22, 2025
6488bc5
different lib names for win32 [skip ci]
JCash Nov 22, 2025
50c9781
Fixes for windows plugin [skip ci]
JCash Nov 22, 2025
005d71a
all together now [skip ci]
JCash Nov 22, 2025
53983c8
compile fix for plugin [skip ci]
JCash Nov 22, 2025
be8759f
script fix [skip ci]
JCash Nov 22, 2025
a430fef
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
2208f20
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
7e4afd3
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
55fe96d
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
472d3bc
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
4694929
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
ebae1a4
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
b1723ed
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
b6f3e41
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
7786186
ci: update linux plugin on update-d03977e75326135a469a4f03d359dbc32a8…
github-actions[bot] Nov 22, 2025
7226b6c
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
ff86c74
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
6650543
fix merge conflicts for pluginRiveExt.jar [skip ci]
JCash Nov 22, 2025
6edd8d4
Merge branch 'update-d03977e75326135a469a4f03d359dbc32a8b055a' of git…
JCash Nov 22, 2025
2d823bd
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
65de1a2
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
ff74aa3
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
714edec
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
1c95513
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 22, 2025
aebaa46
ci: update windows plugin on update-d03977e75326135a469a4f03d359dbc32…
github-actions[bot] Nov 22, 2025
734edd2
ci: update editor plugin on update-d03977e75326135a469a4f03d359dbc32a…
github-actions[bot] Nov 22, 2025
4b2fc63
print windows environment [skip ci]
JCash Nov 23, 2025
d8519c2
try to set v143 globally [skip ci]
JCash Nov 23, 2025
a2f4f95
more win debug [skip ci]
JCash Nov 23, 2025
2768710
Use toolset=msc with rive [skip ci]
JCash Nov 23, 2025
ce9f9cc
typo [skip ci]
JCash Nov 23, 2025
8fdae52
trying another version [skip ci]
JCash Nov 23, 2025
a419669
another test [skip ci]
JCash Nov 23, 2025
a1e4d01
patch the build config with c++20 for windows [skip ci]
JCash Nov 23, 2025
b29060b
move win patch [skip ci]
JCash Nov 23, 2025
23327eb
use a batch patch instead of python [skip ci]
JCash Nov 23, 2025
2c15092
try 14.00 [skip ci]
JCash Nov 23, 2025
67c24b2
use different visual studio installer [skip ci]
JCash Nov 23, 2025
c6be47e
another combo [skip ci]
JCash Nov 23, 2025
8bf7354
another test [skip ci]
JCash Nov 23, 2025
ed2b932
more diagnostics [skip ci]
JCash Nov 23, 2025
ce80576
more install setp [skip ci]
JCash Nov 23, 2025
23be86d
more debug [skip ci]
JCash Nov 23, 2025
33e9fbd
use clang-cl again for win [skip ci]
JCash Nov 23, 2025
ecb4655
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 23, 2025
ce4a950
ci: update windows plugin on update-d03977e75326135a469a4f03d359dbc32…
github-actions[bot] Nov 23, 2025
bde99fc
use older windows kits [skip ci]
JCash Nov 23, 2025
532d590
Merge branch 'update-d03977e75326135a469a4f03d359dbc32a8b055a' of git…
JCash Nov 23, 2025
597726c
more diag [skip ci]
JCash Nov 23, 2025
12e5a73
earlier win sdk [skip ci]
JCash Nov 23, 2025
43a35ed
ci: update artifacts on update-d03977e75326135a469a4f03d359dbc32a8b05…
github-actions[bot] Nov 23, 2025
8b0cafb
ci: update windows plugin on update-d03977e75326135a469a4f03d359dbc32…
github-actions[bot] Nov 23, 2025
6cd5060
try the msbuild version again [skip ci]
JCash Nov 23, 2025
6899365
install 14.37 [skip ci]
JCash Nov 23, 2025
c538e9f
install tweak [skip ci]
JCash Nov 23, 2025
ab14783
another try [skip ci]
JCash Nov 23, 2025
6a7c246
another try [skip ci]
JCash Nov 23, 2025
27dabea
more tests, installing visual studio community 2022 [skip ci]
JCash Nov 23, 2025
73cd38e
Install older community version [skip ci]
JCash Nov 23, 2025
8ca8e10
debug [skip ci]
JCash Nov 23, 2025
371e1a2
use community built tools [skip ci]
JCash Nov 23, 2025
96ac7cf
version tweak
JCash Nov 23, 2025
e12ab5e
install tweak [skip ci]
JCash Nov 23, 2025
602938a
revert some changes [skip ci]
JCash Nov 24, 2025
d1fb745
Merge branch 'update-d03977e75326135a469a4f03d359dbc32a8b055a' into u…
JCash Nov 24, 2025
d25dd2f
disabled windows library builder
JCash Nov 24, 2025
7bcb513
Added new version of windows library build (old code path) [skip ci]
JCash Nov 24, 2025
a2211fc
windows plugin needs libraries built first [skip ci]
JCash Nov 24, 2025
253a30f
added missing changes [skip ci]
JCash Nov 24, 2025
efccd76
set bob [skip ci]
JCash Nov 24, 2025
811fb6b
updated download order [skip ci]
JCash Nov 24, 2025
34a62a0
fix [skip ci]
JCash Nov 24, 2025
a64e821
use RIVE_TMP_DIR [skip ci]
JCash Nov 24, 2025
4cdaec4
updated readme [skip ci]
JCash Nov 24, 2025
8fbc60c
wrong script [skip ci]
JCash Nov 24, 2025
d7d0282
install wget [skip ci]
JCash Nov 24, 2025
fabc02b
install ply [skip ci]
JCash Nov 24, 2025
4d5fe76
switch to linux runner [skip ci]
JCash Nov 24, 2025
3cc4e0e
Use the correct build script [skip ci]
JCash Nov 24, 2025
0db84c5
try copying to correct folder [skip ci]
JCash Nov 24, 2025
a6656bd
ci: update native libs (x86_64-win32) on update-a228887fa6032efd0e0e2…
github-actions[bot] Nov 24, 2025
cfadf93
link towards old libraries in the win32 plugin [skip ci]
JCash Nov 24, 2025
a5bc9fe
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Nov 24, 2025
8673e97
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Nov 24, 2025
2c45458
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Nov 24, 2025
ba36dc1
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Nov 24, 2025
7b6bab4
ci: update native libs (x86_64-win32) on update-a228887fa6032efd0e0e2…
github-actions[bot] Nov 24, 2025
3e423e7
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Nov 24, 2025
4ab810a
ci: update windows plugin on update-a228887fa6032efd0e0e23af70455913d…
github-actions[bot] Nov 24, 2025
230b31f
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Nov 24, 2025
178fdd2
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Nov 24, 2025
771b074
Use the patch which sets -fPIC on
JCash Nov 24, 2025
547593a
Merge branch 'update-a228887fa6032efd0e0e23af70455913dee4ac1f' of git…
JCash Nov 24, 2025
5d1e0eb
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Nov 24, 2025
802d414
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Nov 24, 2025
e422291
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Nov 24, 2025
57ba91b
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Nov 24, 2025
c14c5eb
ci: update linux plugin on update-a228887fa6032efd0e0e23af70455913dee…
github-actions[bot] Nov 24, 2025
3110bb9
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Nov 24, 2025
0039189
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Nov 24, 2025
a42a727
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Nov 24, 2025
d026769
ci: update native libs (x86_64-win32) on update-a228887fa6032efd0e0e2…
github-actions[bot] Nov 24, 2025
84a66d0
ci: update editor plugin on update-a228887fa6032efd0e0e23af70455913de…
github-actions[bot] Nov 24, 2025
4d6ed12
ci: update windows plugin on update-a228887fa6032efd0e0e23af70455913d…
github-actions[bot] Nov 24, 2025
c2ffd01
Created command queue and server, and moved factory + render context …
JCash Nov 28, 2025
8376802
updated to latest wagyu-69
JCash Dec 1, 2025
53565d7
Changed to regular webgpu.h
JCash Dec 2, 2025
595e285
Build the linux editor plugin using Clang 17
JCash Dec 2, 2025
0641923
compile warning fixes
JCash Dec 2, 2025
0ff6c81
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Dec 2, 2025
7b06d05
ci: update linux plugin on update-a228887fa6032efd0e0e23af70455913dee…
github-actions[bot] Dec 2, 2025
4979339
use older ubuntu version
JCash Dec 2, 2025
cea660c
Merge branch 'update-a228887fa6032efd0e0e23af70455913dee4ac1f' of git…
JCash Dec 2, 2025
774a96c
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Dec 2, 2025
0c99072
ci: update linux plugin on update-a228887fa6032efd0e0e23af70455913dee…
github-actions[bot] Dec 2, 2025
064ebfa
trigger test build for ci
JCash Dec 2, 2025
95ef2bb
use whole-archive flag for linux builds [skip ci]
JCash Dec 2, 2025
43bc622
ci: update linux plugin on update-a228887fa6032efd0e0e23af70455913dee…
github-actions[bot] Dec 2, 2025
9429034
Try to force using clang [skip ci]
JCash Dec 2, 2025
cba3b84
again try clang [skip ci]
JCash Dec 2, 2025
a91cb77
ci: update linux plugin on update-a228887fa6032efd0e0e23af70455913dee…
github-actions[bot] Dec 2, 2025
0e5b1c8
trigger a new build
JCash Dec 2, 2025
aab89f8
Use lld when linking on linux
JCash Dec 2, 2025
995d5e3
ci: update linux plugin on update-a228887fa6032efd0e0e23af70455913dee…
github-actions[bot] Dec 2, 2025
9fc074f
trigger a new build
JCash Dec 2, 2025
8082904
disabled x86-win32 build
JCash Dec 2, 2025
73fa2f0
install latest spirv-tools
JCash Dec 2, 2025
0600164
verify spirv version [skip ci]
JCash Dec 2, 2025
83b503c
Use latest ubuntu 24, in order to more easily get access to latest sp…
JCash Dec 2, 2025
84b5b77
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Dec 2, 2025
2241be7
trigger build
JCash Dec 2, 2025
2bd4379
Set RIVE_EMSDK_VERSION=4.0.6 [skip ci]
JCash Dec 5, 2025
d65b5b1
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Dec 5, 2025
5309194
cleanup [skip ci]
JCash Dec 5, 2025
ff1ffeb
Merge branch 'update-a228887fa6032efd0e0e23af70455913dee4ac1f' of git…
JCash Dec 5, 2025
1dc1ef8
initial wip
JCash Dec 5, 2025
4c96a5e
Removed old test content
JCash Dec 6, 2025
0af9675
Added pointer support
JCash Dec 7, 2025
7866c44
Updated scroll list example to use new rive.cmd api
JCash Dec 7, 2025
6aed1c7
Added more viewmodel instance setters
JCash Dec 7, 2025
0efed35
more viewmodel instance functions
JCash Dec 7, 2025
73ac433
more diagnostics [skip ci]
JCash Dec 8, 2025
0a4c3f5
ci: update artifacts on update-a228887fa6032efd0e0e23af70455913dee4ac…
github-actions[bot] Dec 8, 2025
add997e
Added decoding for Font and Audio
JCash Dec 9, 2025
d50502b
More api functions
JCash Dec 9, 2025
d777c07
Added api functions for requesting info
JCash Dec 9, 2025
0875198
Added listener support
JCash Dec 9, 2025
2281bd3
Added support for auto bind
JCash Dec 10, 2025
042719e
fix
JCash Dec 11, 2025
43fdd2a
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
a49250d
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
da313cf
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
b4d6487
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
3bfa5a8
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
dc6bb7c
ci: update native libs (x86_64-win32) on update-3b5d9785f579e8055ec86…
github-actions[bot] Dec 11, 2025
93cbb7d
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
37b896c
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
3f8bb74
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
355ee73
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
0fc57cb
ci: update editor plugin on update-3b5d9785f579e8055ec869382caceee199…
github-actions[bot] Dec 11, 2025
2e42283
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
a09eb42
removed verbose flag [skip ci]
JCash Dec 11, 2025
981de8e
Merge branch 'update-3b5d9785f579e8055ec869382caceee19958c3ed' of git…
JCash Dec 11, 2025
e0eadd6
ci: update native libs (x86_64-win32) on update-3b5d9785f579e8055ec86…
github-actions[bot] Dec 11, 2025
b9c11e4
ci: update windows plugin on update-3b5d9785f579e8055ec869382caceee19…
github-actions[bot] Dec 11, 2025
5d4f63c
removed debug code [skip ci]
JCash Dec 11, 2025
6da6fc0
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
9e689b4
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
7fc14aa
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
1977007
ci: update linux plugin on update-3b5d9785f579e8055ec869382caceee1995…
github-actions[bot] Dec 11, 2025
1c46aa5
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
00379ff
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
ebcdf55
ci: update artifacts on update-3b5d9785f579e8055ec869382caceee19958c3…
github-actions[bot] Dec 11, 2025
1960b3f
ci: update editor plugin on update-3b5d9785f579e8055ec869382caceee199…
github-actions[bot] Dec 11, 2025
85f374b
ci: update native libs (x86_64-win32) on update-3b5d9785f579e8055ec86…
github-actions[bot] Dec 11, 2025
0fe57ff
ci: update windows plugin on update-3b5d9785f579e8055ec869382caceee19…
github-actions[bot] Dec 11, 2025
24dc54c
Added doxygen lua documentation for the api
JCash Dec 12, 2025
55c4c98
Updated script documentation and added Lua annotations
JCash Dec 12, 2025
2a1f671
Setartboard()/SetStateMachine() now returns the previously set handles.
JCash Dec 12, 2025
8257c71
Updated out-of-band example
JCash Dec 12, 2025
12c86e9
Removing older test scenes that doesn't work
JCash Dec 12, 2025
de38cff
build fixes for linux
JCash Dec 13, 2025
7c05bb8
Fixed layout example
JCash Dec 13, 2025
cd80f48
removed unsupported protobuf messages
JCash Dec 13, 2025
18a1195
removed editing the "default animation" from the editor, as it's no l…
JCash Dec 13, 2025
862ef2e
Created wip of Rive Viewer
JCash Dec 13, 2025
54d5451
cleanup
JCash Dec 15, 2025
c08b258
Added artboard resize when using Fullscreen mode
JCash Dec 15, 2025
69d0bf6
Revert "removed editing the "default animation" from the editor, as i…
JCash Dec 15, 2025
6facace
Fix for getting view model handle
JCash Dec 15, 2025
b891b4a
Added user types for the rive handles, for improved type safety
JCash Dec 15, 2025
d5599e5
Improved handle type mismatch error output
JCash Dec 15, 2025
c51f516
Fixed layout transforms to be as they were before
JCash Dec 15, 2025
0b5d8ae
cleanup of old files
JCash Dec 15, 2025
e460b24
Make sure the correct webgpu*.h header is used.
JCash Dec 19, 2025
5f4cabe
Merge branch 'update-3b5d9785f579e8055ec869382caceee19958c3ed' of git…
JCash Dec 19, 2025
6ed0805
Updated readme with no support for Windows x86
JCash Dec 19, 2025
6cfa4a5
Merge pull request #227 from defold/update-3b5d9785f579e8055ec869382c…
JCash Dec 19, 2025
13f0d12
Updated rive.patch to build wasm_pthread-web libraries with -pthread
JCash Dec 19, 2025
e0f73da
Merge pull request #232 from defold/update-wasm-pthread-3b5d9785
JCash Dec 19, 2025
37cc002
Updated viewer to build shaders from actual shader sources (using bob…
JCash Jan 8, 2026
dd93208
Rebuilt editor plugins, cleaned up test content
JCash Jan 9, 2026
6bb7cf0
initial update to push the branch
JCash Jan 9, 2026
5c2e6a4
ci: update artifacts on update-3a5b5058aca009b823154ed7f92c11d599c00a…
github-actions[bot] Jan 9, 2026
459b7da
ci: update artifacts on update-3a5b5058aca009b823154ed7f92c11d599c00a…
github-actions[bot] Jan 9, 2026
7106dc7
ci: update artifacts on update-3a5b5058aca009b823154ed7f92c11d599c00a…
github-actions[bot] Jan 9, 2026
b12d4b2
ci: update native libs (x86_64-win32) on update-3a5b5058aca009b823154…
github-actions[bot] Jan 9, 2026
5660061
ci: update artifacts on update-3a5b5058aca009b823154ed7f92c11d599c00a…
github-actions[bot] Jan 9, 2026
471fec1
ci: update artifacts on update-3a5b5058aca009b823154ed7f92c11d599c00a…
github-actions[bot] Jan 9, 2026
51fec8e
ci: update artifacts on update-3a5b5058aca009b823154ed7f92c11d599c00a…
github-actions[bot] Jan 9, 2026
8d28973
ci: update windows plugin on update-3a5b5058aca009b823154ed7f92c11d59…
github-actions[bot] Jan 9, 2026
b4cf1a2
ci: update artifacts on update-3a5b5058aca009b823154ed7f92c11d599c00a…
github-actions[bot] Jan 9, 2026
45929ab
ci: update artifacts on update-3a5b5058aca009b823154ed7f92c11d599c00a…
github-actions[bot] Jan 9, 2026
27e4bfc
ci: update artifacts on update-3a5b5058aca009b823154ed7f92c11d599c00a…
github-actions[bot] Jan 9, 2026
5071ba6
ci: update artifacts on update-3a5b5058aca009b823154ed7f92c11d599c00a…
github-actions[bot] Jan 9, 2026
6ba4953
Merge branch '9.x' into update-3a5b5058aca009b823154ed7f92c11d599c00ae3
JCash Jan 9, 2026
e90c77f
Merge pull request #234 from defold/update-3a5b5058aca009b823154ed7f9…
JCash Jan 9, 2026
5f2c01d
Merge branch '9.x' into cmd-buffer-api
JCash Jan 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
164 changes: 164 additions & 0 deletions .github/actions/rive-build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
name: Rive Build and Commit
description: Clone Rive runtime, build for a platform, optionally upload artifact, and commit changes

inputs:
platform:
description: Target platform (e.g., x86_64-linux, arm64-macos, arm64-android, ...)
required: true
rive_repo_url:
description: Rive runtime repo URL
required: true
default: https://github.com/rive-app/rive-runtime.git
rive_ref:
description: Rive runtime ref (branch/tag)
required: false
default: ""
rive_sha:
description: Rive runtime commit SHA (overrides ref)
required: false
default: ""
upload_artifact:
description: Upload tarball artifact
required: true
default: "false"
commit_message:
description: Optional commit message suffix
required: false
default: ""
push_changes:
description: Push changes back to the same branch
required: true
default: "true"

runs:
using: composite
steps:
- name: Clone Rive runtime and set RIVE_ROOT
shell: bash
run: |
set -euo pipefail
RIVE_TMP_DIR=$(mktemp -d)
echo "RIVE_ROOT=${RIVE_TMP_DIR}" >> "$GITHUB_ENV"
url="${{ inputs.rive_repo_url }}"
ref="${{ inputs.rive_ref }}"
sha="${{ inputs.rive_sha }}"
echo "Cloning Rive runtime from: ${url}"
if [ -n "$sha" ]; then
git -c core.autocrlf=false -c core.eol=lf clone --depth 1 "$url" "$RIVE_TMP_DIR"
(cd "$RIVE_TMP_DIR" && git fetch --depth 1 origin "$sha" && git checkout -f "$sha")
elif [ -n "$ref" ]; then
git -c core.autocrlf=false -c core.eol=lf clone --depth 1 --branch "$ref" "$url" "$RIVE_TMP_DIR"
else
git -c core.autocrlf=false -c core.eol=lf clone --depth 1 "$url" "$RIVE_TMP_DIR"
fi
# Double-check repo config to avoid CRLF breaking patch apply
(cd "$RIVE_TMP_DIR" && git config core.autocrlf false && git config core.eol lf)
echo "RIVE_ROOT set to: $RIVE_TMP_DIR"

- name: Ensure clean Rive repo
shell: bash
run: |
set -euo pipefail
if [ -d "${RIVE_ROOT}/.git" ]; then
cd "${RIVE_ROOT}"
if [ -n "$(git status --porcelain)" ]; then
echo "Pending changes detected; resetting Rive repo"
git reset --hard
else
echo "Rive repo is clean"
fi
fi

- name: Show context
shell: bash
run: |
echo "Branch: ${GITHUB_REF_NAME:-unknown}"
echo "RIVE_ROOT: ${RIVE_ROOT:-not-set}"
echo "Platform: ${{ inputs.platform }}"
git --version
git status

- name: Build Rive runtime
shell: bash
env:
INPUT_PLATFORM: ${{ inputs.platform }}
run: |
set -euo pipefail
platform="$INPUT_PLATFORM"
echo "Running: ./utils/build_rive_runtime.sh ${platform} ${RIVE_ROOT}"
bash utils/build_rive_runtime.sh "${platform}" "${RIVE_ROOT}"

- name: Pack artifacts (optional)
if: ${{ inputs.upload_artifact == 'true' }}
shell: bash
run: |
set -euo pipefail
paths=()
[ -d defold-rive/lib ] && paths+=(defold-rive/lib)
[ -d defold-rive/include ] && paths+=(defold-rive/include)
if [ ${#paths[@]} -eq 0 ]; then
echo "No artifact directories found (defold-rive/lib, defold-rive/include)."
exit 0
fi
echo "Packing: ${paths[*]}"
tar -czf "branch-artifacts-${GITHUB_REF_NAME}.tgz" "${paths[@]}"

- name: Upload artifact (optional)
if: ${{ inputs.upload_artifact == 'true' }}
uses: actions/upload-artifact@v4
with:
name: branch-artifacts-${{ github.ref_name }}
path: branch-artifacts-${{ github.ref_name }}.tgz
if-no-files-found: ignore

- name: Commit and push changes (optional)
if: ${{ inputs.push_changes == 'true' }}
shell: bash
env:
COMMIT_SUFFIX: ${{ inputs.commit_message }}
run: |
set -euo pipefail
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
add_paths=()
[ -d defold-rive/lib ] && add_paths+=(defold-rive/lib)
[ -d defold-rive/include ] && add_paths+=(defold-rive/include)
if [ ${#add_paths[@]} -gt 0 ]; then
git add -v "${add_paths[@]}" || true
fi
if git diff --cached --quiet; then
echo "No changes to commit."
exit 0
fi
msg="ci: update artifacts on ${GITHUB_REF_NAME} [skip ci]"
if [ -n "${COMMIT_SUFFIX}" ]; then
msg="$msg - ${COMMIT_SUFFIX}"
fi
git commit -m "$msg"
max_attempts=3
attempt=1
until [ $attempt -gt $max_attempts ]; do
echo "Attempt $attempt: rebase + push"
if git pull --rebase origin "${GITHUB_REF_NAME}"; then
if git push origin HEAD:"${GITHUB_REF_NAME}"; then
echo "Push succeeded"
break
fi
else
echo "Rebase failed; aborting and retrying"
git rebase --abort || true
fi
attempt=$((attempt+1))
sleep $((attempt*2))
done
if [ $attempt -gt $max_attempts ]; then
echo "Push failed after $max_attempts attempts"
exit 1
fi

- name: Post-commit status
if: ${{ always() }}
shell: bash
run: |
git --no-pager log -1 --oneline || true
git status || true
3 changes: 1 addition & 2 deletions .github/workflows/bob.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ jobs:
needs: check_shared_dependencies
uses: defold/github-actions-common/.github/workflows/bob.yml@master
with:
ignored_platforms: '[{"platform": "armv7-android"}]'

ignored_platforms: '[{"platform": "armv7-android"}, {"platform": "x86-win32"}]'
Loading
Loading