19 Commits

Author SHA1 Message Date
csmartdalton
d64ffb9c30 docs: Remove Skia from the runtime readme (#10043) 092566581a
Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2025-06-24 21:16:40 +00:00
rivessamr
5207dd8ba2 Opensource (tools) tests as part of runtime
- Most of tools/* have been moved to the new packages/runtime/tests. (Excludes fuzz and a few things with proprietary information)

- The tools/test are now in packages/runtime/unit_tests/renderer.

- The runtime/tests are now also moved, to the following packages/runtime/unit_tests/runtime (moved the "dev/tests" to packages/runtime/unit_tests)

- Thus unit_tests comprises of runtime and renderer tests (in the future we can add more categories as folder, this avoids too many tests in one folder)

- The rendering tests and runtime tests are built together in one executable called unit_tests*. This is what is described in the rive-runtime README - it is the way our developers can test the rendering (GPU) and runtime (CPU) unit tests in one go.

- pr_runtime_tests now builds and runs all the unit_tests, previously it was only executing the runtime tests, but now it includes the renderer tests for the (same platforms still tested: windows, windows msvc, mac, linux)

- The pr_tools_tests still tests the same workloads on the same devices, limited still to the rendering tests

ISSUES:

- We cannot build all the "tools" tests (e.g. imagediff, rendering tests) with the runtime tests. The runtime tests enables TESTING. I'm also not sure if running the runtime tests on all the devices is actually is worth it - if the tests are platform+device agnostic then probably not worth it.

- Windows pr_runtime_tests switched to ws-actions/configure-aws-credentials@v1 from microsoft/setup-msbuild@v1.1, as would not build otherwise, seems related to old version of premake

TODO:

- Verify of the performance is reasonable for runner / checkins

Diffs=
f25ee97a0 Opensource (tools) tests as part of runtime (#8035)

Co-authored-by: rivessamr <suki@rive.app>
2024-09-03 22:45:48 +00:00
HayesGordon
16d32220e7 chore: update README
Mostly sentence case for headers and adding new info as needed + removing older things

Diffs=
e68c7b6de chore: update README (#6824)

Co-authored-by: Gordon <pggordonhayes@gmail.com>
2024-03-11 19:00:52 +00:00
mjtalbot
3e294d72f0 make a change to force a mono flush
bump runtime to push build to repo's affected by runtime in mono.

Diffs=
9338d6ec6 make a change to force a mono flush (#6638)

Co-authored-by: Maxwell Talbot <talbot.maxwell@gmail.com>
2024-02-16 11:09:51 +00:00
mjtalbot
c9a52af321 Pushing merge, resolved using upstream.\n\n message=update mono to keep details in commit and not pr
gonna double check it and merge it...

previous job failed on hte pr message, probably too complex

https://github.com/rive-app/rive/actions/runs/7929209375/job/21648989390

```
+ gh pr create --fill --title 'There have been merge conflicts' --body 'diff --cc .github/workflows/tests.yml
index 76659125,e20119eb..00000000
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@@ -58,8 -58,9 +58,12 @@@ jobs
          run: |
            cd dev/test
            C:\premake5.exe --scripts=..\..\build vs2022
++<<<<<<< ours
++=======
+           cd out/debug
++>>>>>>> theirs
            MSBuild rive.sln
-           build\bin\debug\tests.exe
+           tests.exe

    build-macos:
      runs-on: macOS-latest'
pull request create failed: GraphQL: Something went wrong while executing your query. Please include `16C0:22C1:77BF52E:7B4322F:65CF3854` when reporting this issue.
```

Diffs=
6059f744d update mono to keep details in commit and not pr (#6637)
a394393a0 update mono scripts to be able to create "fixing" pr (#6636)
2277c08fc Apply same changes as downstream (#6634)
faf6ea317 Option to build harfbuzz with renames to avoid static lib collision. (#6630)
c51bda03e Fix downstream windows tests. (#6632)

Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
Co-authored-by: Maxwell Talbot <talbot.maxwell@gmail.com> diff=\n\ndiff --cc .github/workflows/tests.yml
index 76659125,e20119eb..00000000
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@@ -58,8 -58,9 +58,12 @@@ jobs
          run: |
            cd dev/test
            C:\premake5.exe --scripts=..\..\build vs2022
++<<<<<<< ours
++=======
+           cd out/debug
++>>>>>>> theirs
            MSBuild rive.sln
-           build\bin\debug\tests.exe
+           tests.exe

    build-macos:
      runs-on: macOS-latest
2024-02-16 11:03:27 +00:00
zplata
3d9c6dbd22 chore: fix broken docs link
Need a small change to go through to get the latest cpp commit that didn't make it downstream, downstream.

Diffs=
bd71143bc chore: fix broken docs link (#6360)
0f08dd379 prevent pointer event propagation to collapsed nested artboards (#6322)

Co-authored-by: Zachary Plata <plata.zach@gmail.com>
Co-authored-by: hernan <hernan@rive.app>
2023-12-14 21:54:33 +00:00
zplata
dee058bbd8 Replace broken hero image on runtime READMEs
Separate PRs for react + react native

Diffs=
dd6983034 Replace broken hero image on runtime READMEs (#5690)

Co-authored-by: Zachary Plata <plata.zach@gmail.com>
2023-07-28 15:36:25 +00:00
csmartdalton
fe9112bbe8 Add a simd library for SSE / NEON / WASM_SIMD
Adds a "simd" namespace with vector utilities (SSE, NEON, WASM_SIMD),
and implements RawPath::bounds in SIMD. This namespace relies
exclusively on the latest clang vector extensions, so from here on, Rive
needs to be built with a recent clang. On our own bots, we had to bump
the Android builder to NDK r25b, the Ubuntu builder to 22.04, and the
MacOS builder to macos-12.

RawPathBounds bench result:

  MacOS:   2.37ms -> .579 (4.1x)
  Windows: 3.53ms -> 1.68 (2.1x)

Windows SSE can be optimized down to .927ms (3.8x) by forcing the SSE
min/max instructions, but they have different behavior with NaN, which
is why clang doesn't use them directly, so it seems like an
over-optimization at this point.

Diffs=
986b49674 Add a simd library for SSE / NEON / WASM_SIMD (#4199)
2022-08-30 22:54:10 +00:00
Mike Reed
8dec05723f Update readme to use make_skia.sh 2022-02-20 18:59:33 -05:00
Luigi Rosso
ea28ae0f82 Starting to abstract renderer for image assets. 2021-11-30 11:16:46 -08:00
JCash
2f1445b2e5 Added support for local install of premake5 using PATH environment variable 2021-08-09 13:38:43 -07:00
Luigi Rosso
ef3c98a979 Update README.md 2021-06-24 19:34:13 -07:00
Luigi Rosso
b4d69af75f Updating readme 2021-05-01 18:12:14 -07:00
Luigi Rosso
5d0e8d045f Adding more docs and utility tasks. 2021-05-01 18:10:33 -07:00
Luigi Rosso
d7e6dc7b0e Adding memory leak check option to tests. 2021-05-01 12:05:59 -07:00
Maxwell Talbot
18ba1ff556 added tests, and ripped out some "setup" for pulling out a rive file. probably need to deal with this a little more oo, as its calling new.. 2021-02-25 09:40:28 +00:00
Matt Sullivan
90a2c2296e Testing dynamically linking to lib in testing 2020-07-10 14:57:37 -07:00
Matt Sullivan
9132b2c86b Updated README 2020-07-10 14:39:02 -07:00
Matt Sullivan
958a63a411 Initial commit 2020-07-10 14:15:46 -07:00