Skip to content

Commit

Permalink
Merge rive-cpp into rive-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
csmartdalton committed Aug 23, 2024
2 parents eac33a6 + 1740f4a commit b2160fb
Show file tree
Hide file tree
Showing 1,555 changed files with 125,219 additions and 0 deletions.
74 changes: 74 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

# test builds
dev/test/build/bin/*

# aot snapshots
dev/bin/*

# Generated make files
Makefile
*.make

# Dart stuff
pubspec.lock
.packages
.dart_tool

# OSX stuff
*.DS_Store

# Generated docs
docs

# Analysis results
dev/analysis_report

# Build directories
build/bin

# Skia dependencies
skia/dependencies/skia_recorder
skia/dependencies/skia
skia/dependencies/skia_rive_optimized
skia/dependencies/glfw_build
skia/dependencies/FFmpeg
skia/dependencies/x264
skia/renderer/build/bin
skia/**/build/bin
/skia/dependencies/glfw


**/build/obj
**/build/bin
77 changes: 77 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Tests

on:
push:

jobs:
build-linux:
runs-on: ubuntu-latest

strategy:
matrix:
platform: [linux]

steps:
- uses: actions/checkout@v2
- name: Install
run: |
wget -q https://github.com/premake/premake-core/releases/download/v5.0.0-alpha16/premake-5.0.0-alpha16-linux.tar.gz
tar -xf premake-5.0.0-alpha16-linux.tar.gz
sudo chmod a+x premake5
sudo mv premake5 /usr/local/bin
- name: Build
run: |
./build.sh clean
./build.sh
./build.sh release
- name: Tests
run: |
cd dev
./test.sh
build-windows:
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- name: Tests
run: |
cd dev
./test.sh
build-macos:
runs-on: macOS-latest

strategy:
matrix:
platform: [macOS]

steps:
- uses: actions/checkout@v2

- name: Install
run: |
wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha16/premake-5.0.0-alpha16-macosx.tar.gz
tar -xvf premake-5.0.0-alpha16-macosx.tar.gz
sudo chmod a+x premake5
sudo mv premake5 /usr/local/bin
- name: Build
run: |
./build.sh
./build.sh release
- name: Tests
if: matrix.platform == 'macOS'
run: |
echo Testing for ${{matrix.platform}}
cd dev
./test.sh
- name: Tess Tests
if: matrix.platform == 'macOS'
run: |
echo Testing for ${{matrix.platform}}
cd tess/build/macosx
./build_tess.sh test
92 changes: 92 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

# aot snapshots
dev/bin/*

# Generated make files
Makefile
*.make

# Dart stuff
pubspec.lock
.packages
.dart_tool

# OSX stuff
*.DS_Store

# Generated docs
docs

# Analysis results
dev/analysis_report

# Build directories
build/bin
dev/test/build/bin
rivinfo/build/macosx

# Skia dependencies
skia/dependencies/skia_recorder
skia/dependencies/skia
skia/dependencies/skia_full
skia/dependencies/glfw_build
skia/dependencies/FFmpeg
skia/dependencies/x264
skia/renderer/build/bin
skia/renderer/build/obj
skia/renderer/build/macosx
skia/renderer/build/android
skia/**/build/bin
skia/**/build/macosx
skia/**/build/android
/skia/dependencies/glfw
/skia/dependencies/gl3w
/skia/dependencies/imgui
/skia/dependencies/libzip
/skia/dependencies/libzip_build
/skia/viewer/imgui.ini
/skia/viewer/build/macosx
/skia/thumbnail_generator/build/macosx
/skia/thumbnail_generator/build/dependencies
/viewer/build/macosx
/build/macosx
/build/android
/skia/dependencies/skia_rive_optimized
/skia/dependencies/skia_debug
/skia/dependencies/skia-experimental
dependencies/windows/cache

# Local development setup
compile_commands.json
32 changes: 32 additions & 0 deletions .lua-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
column_limit: 80
indent_width: 4
use_tab: false
tab_width: 4
continuation_indent_width: 4
spaces_before_call: 1
keep_simple_control_block_one_line: true
keep_simple_function_one_line: true
align_args: true
break_after_functioncall_lp: false
break_before_functioncall_rp: false
spaces_inside_functioncall_parens: false
spaces_inside_functiondef_parens: false
align_parameter: true
chop_down_parameter: false
break_after_functiondef_lp: false
break_before_functiondef_rp: false
align_table_field: true
break_after_table_lb: true
break_before_table_rb: true
chop_down_table: true
chop_down_kv_table: true
table_sep: ","
column_table_limit: column_limit
extra_sep_at_table_end: false
spaces_inside_table_braces: false
break_after_operator: true
double_quote_to_single_quote: false
single_quote_to_double_quote: false
spaces_around_equals_in_field: true
line_breaks_after_function_body: 1
line_separator: input
19 changes: 19 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"configurations": [
{
"name": "Mac",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/dev/test/include",
"${workspaceFolder}/include"
],
"defines": [],
"macFrameworkPath": [],
"compilerPath": "/usr/local/bin/arm-none-eabi-gcc",
"cStandard": "gnu11",
"cppStandard": "gnu++14",
"intelliSenseMode": "clang-x64"
}
],
"version": 4
}
Loading

0 comments on commit b2160fb

Please sign in to comment.