jolt-ruby 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitmodules +3 -0
- data/LICENSE.txt +21 -0
- data/README.md +228 -0
- data/Rakefile +180 -0
- data/examples/character_virtual.rb +35 -0
- data/examples/falling_sphere.rb +25 -0
- data/examples/stagecraft_binding.rb +29 -0
- data/ext/jolt_ruby/CMakeLists.txt +42 -0
- data/ext/jolt_ruby/character_helper.cpp +44 -0
- data/ext/jolt_ruby/constraint_helper.cpp +154 -0
- data/ext/jolt_ruby/extconf.rb +56 -0
- data/ext/jolt_ruby/helper.cpp +225 -0
- data/ext/jolt_ruby/helper.h +103 -0
- data/ext/joltc/.github/FUNDING.yml +1 -0
- data/ext/joltc/.github/workflows/build.yml +298 -0
- data/ext/joltc/.gitignore +272 -0
- data/ext/joltc/CMakeLists.txt +431 -0
- data/ext/joltc/LICENSE +21 -0
- data/ext/joltc/README.md +10 -0
- data/ext/joltc/build/cmake_vs2026_arm64.bat +3 -0
- data/ext/joltc/build/cmake_vs2026_clang.bat +10 -0
- data/ext/joltc/build/cmake_vs2026_x64.bat +3 -0
- data/ext/joltc/build/cmake_vs2026_x64_double.bat +3 -0
- data/ext/joltc/include/joltc.h +3166 -0
- data/ext/joltc/samples/01_HelloWorld/main.cpp +170 -0
- data/ext/joltc/samples/CMakeLists.txt +35 -0
- data/ext/joltc/src/joltc.c +4 -0
- data/ext/joltc/src/joltc.cpp +11812 -0
- data/ext/joltc/src/joltc_assert.cpp +271 -0
- data/ext/joltc/tests/CMakeLists.txt +77 -0
- data/ext/joltc/tests/test_character.cpp +149 -0
- data/ext/joltc/tests/test_collision.cpp +146 -0
- data/ext/joltc/tests/test_constraints.cpp +353 -0
- data/ext/joltc/tests/test_core.cpp +94 -0
- data/ext/joltc/tests/test_math.cpp +585 -0
- data/ext/joltc/tests/test_physics_system.cpp +465 -0
- data/ext/joltc/tests/test_shapes.cpp +789 -0
- data/ext/joltc/tests/test_skeleton.cpp +370 -0
- data/ext/joltc/tests/test_vehicle.cpp +319 -0
- data/generator/generate.rb +237 -0
- data/generator/layout_probe.cpp +489 -0
- data/generator/verify_layout.rb +32 -0
- data/lib/jolt/body.rb +147 -0
- data/lib/jolt/body_collection.rb +115 -0
- data/lib/jolt/body_dynamics.rb +93 -0
- data/lib/jolt/character_virtual.rb +162 -0
- data/lib/jolt/constraint.rb +136 -0
- data/lib/jolt/constraint_collection.rb +123 -0
- data/lib/jolt/contact_events.rb +19 -0
- data/lib/jolt/conversions.rb +76 -0
- data/lib/jolt/errors.rb +12 -0
- data/lib/jolt/fixed_stepper.rb +37 -0
- data/lib/jolt/hit.rb +5 -0
- data/lib/jolt/layers.rb +182 -0
- data/lib/jolt/native/character_functions.rb +16 -0
- data/lib/jolt/native/constraint_functions.rb +27 -0
- data/lib/jolt/native/core_functions.rb +17 -0
- data/lib/jolt/native/generated.rb +1995 -0
- data/lib/jolt/native/platform.rb +51 -0
- data/lib/jolt/native/query_functions.rb +43 -0
- data/lib/jolt/native/types.rb +28 -0
- data/lib/jolt/native.rb +94 -0
- data/lib/jolt/shape.rb +90 -0
- data/lib/jolt/shape_builders.rb +155 -0
- data/lib/jolt/system.rb +238 -0
- data/lib/jolt/system_characters.rb +25 -0
- data/lib/jolt/system_constraints.rb +36 -0
- data/lib/jolt/system_contacts.rb +57 -0
- data/lib/jolt/system_queries.rb +111 -0
- data/lib/jolt/transform.rb +5 -0
- data/lib/jolt/version.rb +5 -0
- data/lib/jolt.rb +83 -0
- data/script/smoke_gem.rb +29 -0
- data/script/verify_release.rb +36 -0
- metadata +147 -0
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
name: Build
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- 'main'
|
|
8
|
+
paths-ignore:
|
|
9
|
+
- '*.md'
|
|
10
|
+
pull_request:
|
|
11
|
+
paths-ignore:
|
|
12
|
+
- '*.md'
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
windows:
|
|
16
|
+
runs-on: windows-2025-vs2026
|
|
17
|
+
steps:
|
|
18
|
+
- name: Checkout
|
|
19
|
+
uses: actions/checkout@v7
|
|
20
|
+
|
|
21
|
+
- name: Get CMake
|
|
22
|
+
uses: lukka/get-cmake@latest
|
|
23
|
+
|
|
24
|
+
- name: Configure win-x64
|
|
25
|
+
run: cmake -S "." -B "build_win_64" -G "Visual Studio 18 2026" -A x64 -DCMAKE_BUILD_TYPE:String=Distribution -DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
26
|
+
- name: Build win-x64
|
|
27
|
+
run: cmake --build build_win_64 --config Distribution
|
|
28
|
+
|
|
29
|
+
- name: Configure win-x64 double
|
|
30
|
+
run: cmake -S "." -B "build_win_64_double" -G "Visual Studio 18 2026" -A x64 -DCMAKE_BUILD_TYPE:String=Distribution -DDOUBLE_PRECISION=ON -DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
31
|
+
- name: Build win-x64 double
|
|
32
|
+
run: cmake --build build_win_64_double --config Distribution
|
|
33
|
+
|
|
34
|
+
- name: Configure win-arm64
|
|
35
|
+
run: cmake -S "." -B "build_win_arm64" -G "Visual Studio 18 2026" -A ARM64 -DCMAKE_BUILD_TYPE:String=Distribution -DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
36
|
+
- name: Build win-arm64
|
|
37
|
+
run: cmake --build build_win_arm64 --config Distribution
|
|
38
|
+
|
|
39
|
+
- name: Configure win-arm64 double
|
|
40
|
+
run: cmake -S "." -B "build_win_arm64_double" -G "Visual Studio 18 2026" -A ARM64 -DCMAKE_BUILD_TYPE:String=Distribution -DDOUBLE_PRECISION=ON -DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
41
|
+
- name: Build win-arm64 double
|
|
42
|
+
run: cmake --build build_win_arm64_double --config Distribution
|
|
43
|
+
|
|
44
|
+
- name: Configure win-x64 Debug
|
|
45
|
+
run: cmake -S "." -B "build_win_64" -G "Visual Studio 18 2026" -A x64 -DCMAKE_BUILD_TYPE:String=Debug -DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
46
|
+
- name: Build win-x64 Debug
|
|
47
|
+
run: cmake --build build_win_64 --config Debug
|
|
48
|
+
|
|
49
|
+
- name: Configure win-x64 double Debug
|
|
50
|
+
run: cmake -S "." -B "build_win_64_double" -G "Visual Studio 18 2026" -A x64 -DCMAKE_BUILD_TYPE:String=Debug -DDOUBLE_PRECISION=ON -DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
51
|
+
- name: Build win-x64 double Debug
|
|
52
|
+
run: cmake --build build_win_64_double --config Debug
|
|
53
|
+
|
|
54
|
+
- name: Configure win-arm64 Debug
|
|
55
|
+
run: cmake -S "." -B "build_win_arm64" -G "Visual Studio 18 2026" -A ARM64 -DCMAKE_BUILD_TYPE:String=Debug -DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
56
|
+
- name: Build win-arm64 Debug
|
|
57
|
+
run: cmake --build build_win_arm64 --config Debug
|
|
58
|
+
|
|
59
|
+
- name: Configure win-arm64 double Debug
|
|
60
|
+
run: cmake -S "." -B "build_win_arm64_double" -G "Visual Studio 18 2026" -A ARM64 -DCMAKE_BUILD_TYPE:String=Debug -DDOUBLE_PRECISION=ON -DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
61
|
+
- name: Build win-arm64 double Debug
|
|
62
|
+
run: cmake --build build_win_arm64_double --config Debug
|
|
63
|
+
|
|
64
|
+
- name: Package Windows
|
|
65
|
+
run: |
|
|
66
|
+
mkdir bin/win-x64
|
|
67
|
+
mkdir bin/win-arm64
|
|
68
|
+
mv build_win_64\bin\Distribution\joltc.dll bin/win-x64
|
|
69
|
+
mv build_win_64\bin\Debug\joltcd.dll bin/win-x64
|
|
70
|
+
mv build_win_64\bin\Debug\joltcd.pdb bin/win-x64
|
|
71
|
+
mv build_win_64_double\bin\Distribution\joltc_double.dll bin/win-x64
|
|
72
|
+
mv build_win_64_double\bin\Debug\joltc_doubled.dll bin/win-x64
|
|
73
|
+
mv build_win_64_double\bin\Debug\joltc_doubled.pdb bin/win-x64
|
|
74
|
+
mv build_win_arm64\bin\Distribution\joltc.dll bin/win-arm64
|
|
75
|
+
mv build_win_arm64\bin\Debug\joltcd.dll bin/win-arm64
|
|
76
|
+
mv build_win_arm64\bin\Debug\joltcd.pdb bin/win-arm64
|
|
77
|
+
mv build_win_arm64_double\bin\Distribution\joltc_double.dll bin/win-arm64
|
|
78
|
+
mv build_win_arm64_double\bin\Debug\joltc_doubled.dll bin/win-arm64
|
|
79
|
+
mv build_win_arm64_double\bin\Debug\joltc_doubled.pdb bin/win-arm64
|
|
80
|
+
- uses: actions/upload-artifact@v7
|
|
81
|
+
with:
|
|
82
|
+
name: libs_windows
|
|
83
|
+
path: bin
|
|
84
|
+
|
|
85
|
+
linux:
|
|
86
|
+
runs-on: ubuntu-22.04
|
|
87
|
+
steps:
|
|
88
|
+
- uses: actions/checkout@v7
|
|
89
|
+
|
|
90
|
+
- name: Get CMake
|
|
91
|
+
uses: lukka/get-cmake@latest
|
|
92
|
+
|
|
93
|
+
- name: Install dependencies on Ubuntu
|
|
94
|
+
run: |
|
|
95
|
+
sudo apt-get update
|
|
96
|
+
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu llvm
|
|
97
|
+
|
|
98
|
+
# Linux
|
|
99
|
+
- name: CMake Configure (linux-x64)
|
|
100
|
+
run: cmake -S "." -B "build_linux_x64" -G Ninja -DCMAKE_BUILD_TYPE=Distribution -DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
101
|
+
- name: Build linux-x64
|
|
102
|
+
run: cmake --build build_linux_x64 --config Distribution --verbose --parallel
|
|
103
|
+
|
|
104
|
+
- name: CMake Configure (linux-arm64)
|
|
105
|
+
run: cmake -S "." -B "build_linux_arm64" -G Ninja -DCMAKE_BUILD_TYPE=Distribution -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
106
|
+
- name: Build linux-arm64
|
|
107
|
+
run: cmake --build build_linux_arm64 --config Distribution --verbose --parallel
|
|
108
|
+
|
|
109
|
+
- name: CMake Configure (linux-x64) Debug
|
|
110
|
+
run: cmake -S "." -B "build_linux_x64" -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
111
|
+
- name: Build linux-x64 Debug
|
|
112
|
+
run: cmake --build build_linux_x64 --config Debug --verbose --parallel
|
|
113
|
+
|
|
114
|
+
- name: CMake Configure (linux-arm64) Debug
|
|
115
|
+
run: cmake -S "." -B "build_linux_arm64" -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
116
|
+
- name: Build linux-arm64 Debug
|
|
117
|
+
run: cmake --build build_linux_arm64 --config Debug --verbose --parallel
|
|
118
|
+
|
|
119
|
+
# Android
|
|
120
|
+
- name: Setup Android NDK
|
|
121
|
+
id: setup-ndk
|
|
122
|
+
uses: nttld/setup-ndk@v1
|
|
123
|
+
with:
|
|
124
|
+
ndk-version: r25
|
|
125
|
+
add-to-path: false
|
|
126
|
+
env:
|
|
127
|
+
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
|
|
128
|
+
|
|
129
|
+
- name: CMake Configure (android-arm64-v8a)
|
|
130
|
+
run: >
|
|
131
|
+
cmake -S "." -B "build_android_arm64_v8a"
|
|
132
|
+
-DANDROID_ABI=arm64-v8a
|
|
133
|
+
-DCMAKE_BUILD_TYPE=Distribution
|
|
134
|
+
-DANDROID_NDK=${{ steps.setup-ndk.outputs.ndk-path }}
|
|
135
|
+
-DCMAKE_TOOLCHAIN_FILE="${{ steps.setup-ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake"
|
|
136
|
+
-DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
137
|
+
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,max-page-size=16384"
|
|
138
|
+
- name: Build (android-arm64-v8a)
|
|
139
|
+
run: cmake --build build_android_arm64_v8a --config Distribution --verbose --parallel
|
|
140
|
+
|
|
141
|
+
- name: CMake Configure (android-armeabi-v7a)
|
|
142
|
+
run: >
|
|
143
|
+
cmake -S "." -B "build_android_armeabi_v7a"
|
|
144
|
+
-DANDROID_ABI=armeabi-v7a
|
|
145
|
+
-DCMAKE_BUILD_TYPE=Distribution
|
|
146
|
+
-DANDROID_NDK=${{ steps.setup-ndk.outputs.ndk-path }}
|
|
147
|
+
-DCMAKE_TOOLCHAIN_FILE="${{ steps.setup-ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake"
|
|
148
|
+
-DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
149
|
+
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,max-page-size=16384"
|
|
150
|
+
- name: Build (android-armeabi-v7a)
|
|
151
|
+
run: cmake --build build_android_armeabi_v7a --config Distribution --verbose --parallel
|
|
152
|
+
|
|
153
|
+
- name: CMake Configure (android-x86_64)
|
|
154
|
+
run: >
|
|
155
|
+
cmake -S "." -B "build_android_x86_64"
|
|
156
|
+
-DANDROID_ABI=x86_64
|
|
157
|
+
-DCMAKE_BUILD_TYPE=Distribution
|
|
158
|
+
-DANDROID_NDK=${{ steps.setup-ndk.outputs.ndk-path }}
|
|
159
|
+
-DCMAKE_TOOLCHAIN_FILE="${{ steps.setup-ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake"
|
|
160
|
+
-DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
161
|
+
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,max-page-size=16384"
|
|
162
|
+
- name: Build (android-armeabi-v7a)
|
|
163
|
+
run: cmake --build build_android_x86_64 --config Distribution --verbose --parallel
|
|
164
|
+
|
|
165
|
+
- name: CMake Configure (android-arm64-v8a) Debug
|
|
166
|
+
run: >
|
|
167
|
+
cmake -S "." -B "build_android_arm64_v8a"
|
|
168
|
+
-DANDROID_ABI=arm64-v8a
|
|
169
|
+
-DCMAKE_BUILD_TYPE=Debug
|
|
170
|
+
-DANDROID_NDK=${{ steps.setup-ndk.outputs.ndk-path }}
|
|
171
|
+
-DCMAKE_TOOLCHAIN_FILE="${{ steps.setup-ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake"
|
|
172
|
+
-DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
173
|
+
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,max-page-size=16384"
|
|
174
|
+
- name: Build (android-arm64-v8a) Debug
|
|
175
|
+
run: cmake --build build_android_arm64_v8a --config Debug --verbose --parallel
|
|
176
|
+
|
|
177
|
+
- name: CMake Configure (android-armeabi-v7a) Debug
|
|
178
|
+
run: >
|
|
179
|
+
cmake -S "." -B "build_android_armeabi_v7a"
|
|
180
|
+
-DANDROID_ABI=armeabi-v7a
|
|
181
|
+
-DCMAKE_BUILD_TYPE=Debug
|
|
182
|
+
-DANDROID_NDK=${{ steps.setup-ndk.outputs.ndk-path }}
|
|
183
|
+
-DCMAKE_TOOLCHAIN_FILE="${{ steps.setup-ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake"
|
|
184
|
+
-DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
185
|
+
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,max-page-size=16384"
|
|
186
|
+
- name: Build (android-armeabi-v7a) Debug
|
|
187
|
+
run: cmake --build build_android_armeabi_v7a --config Debug --verbose --parallel
|
|
188
|
+
|
|
189
|
+
- name: CMake Configure (android-x86_64) Debug
|
|
190
|
+
run: >
|
|
191
|
+
cmake -S "." -B "build_android_x86_64"
|
|
192
|
+
-DANDROID_ABI=x86_64
|
|
193
|
+
-DCMAKE_BUILD_TYPE=Debug
|
|
194
|
+
-DANDROID_NDK=${{ steps.setup-ndk.outputs.ndk-path }}
|
|
195
|
+
-DCMAKE_TOOLCHAIN_FILE="${{ steps.setup-ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake"
|
|
196
|
+
-DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
197
|
+
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,max-page-size=16384"
|
|
198
|
+
- name: Build (android-armeabi-v7a) Debug
|
|
199
|
+
run: cmake --build build_android_x86_64 --config Debug --verbose --parallel
|
|
200
|
+
|
|
201
|
+
# Linux and Android artifacts
|
|
202
|
+
- name: Package Linux and Android
|
|
203
|
+
run: |
|
|
204
|
+
mkdir -p bin/linux-x64
|
|
205
|
+
mkdir -p bin/linux-arm64
|
|
206
|
+
mkdir -p bin/android-arm64
|
|
207
|
+
mkdir -p bin/android-arm
|
|
208
|
+
mkdir -p bin/android-x64
|
|
209
|
+
mv build_linux_x64/lib/libjoltc.so bin/linux-x64/libjoltc.so
|
|
210
|
+
mv build_linux_arm64/lib/libjoltc.so bin/linux-arm64/libjoltc.so
|
|
211
|
+
mv build_android_arm64_v8a/lib/libjoltc.so bin/android-arm64/libjoltc.so
|
|
212
|
+
mv build_android_armeabi_v7a/lib/libjoltc.so bin/android-arm/libjoltc.so
|
|
213
|
+
mv build_android_x86_64/lib/libjoltc.so bin/android-x64/libjoltc.so
|
|
214
|
+
mv build_linux_x64/lib/libjoltcd.so bin/linux-x64/libjoltcd.so
|
|
215
|
+
mv build_linux_arm64/lib/libjoltcd.so bin/linux-arm64/libjoltcd.so
|
|
216
|
+
mv build_android_arm64_v8a/lib/libjoltcd.so bin/android-arm64/libjoltcd.so
|
|
217
|
+
mv build_android_armeabi_v7a/lib/libjoltcd.so bin/android-arm/libjoltcd.so
|
|
218
|
+
mv build_android_x86_64/lib/libjoltcd.so bin/android-x64/libjoltcd.so
|
|
219
|
+
llvm-strip --strip-unneeded bin/linux-x64/libjoltc.so
|
|
220
|
+
llvm-strip --strip-unneeded bin/linux-arm64/libjoltc.so
|
|
221
|
+
llvm-strip --strip-unneeded bin/android-arm/libjoltc.so
|
|
222
|
+
llvm-strip --strip-unneeded bin/android-arm64/libjoltc.so
|
|
223
|
+
llvm-strip --strip-unneeded bin/android-x64/libjoltc.so
|
|
224
|
+
- uses: actions/upload-artifact@v7
|
|
225
|
+
with:
|
|
226
|
+
name: libs_linux
|
|
227
|
+
path: bin
|
|
228
|
+
|
|
229
|
+
macos:
|
|
230
|
+
runs-on: macos-latest
|
|
231
|
+
steps:
|
|
232
|
+
- uses: actions/checkout@v7
|
|
233
|
+
|
|
234
|
+
- name: Get CMake
|
|
235
|
+
uses: lukka/get-cmake@latest
|
|
236
|
+
|
|
237
|
+
- name: Configure osx-universal
|
|
238
|
+
run: cmake -S "." -B "build_osx" -G Ninja -DCMAKE_BUILD_TYPE=Distribution -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
239
|
+
- name: Build osx-universal
|
|
240
|
+
run: cmake --build build_osx --config Distribution --verbose --parallel
|
|
241
|
+
|
|
242
|
+
- name: Configure osx-universal Debug
|
|
243
|
+
run: cmake -S "." -B "build_osx" -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DCMAKE_INSTALL_PREFIX:String="SDK"
|
|
244
|
+
- name: Build osx-universal Debug
|
|
245
|
+
run: cmake --build build_osx --config Debug --verbose --parallel
|
|
246
|
+
|
|
247
|
+
# macOS artifacts
|
|
248
|
+
- name: package_osx
|
|
249
|
+
run: |
|
|
250
|
+
mkdir -p bin/osx
|
|
251
|
+
mv build_osx/lib/libjoltc.dylib bin/osx/libjoltc.dylib
|
|
252
|
+
mv build_osx/lib/libjoltcd.dylib bin/osx/libjoltcd.dylib
|
|
253
|
+
- uses: actions/upload-artifact@v7
|
|
254
|
+
with:
|
|
255
|
+
name: libs_osx
|
|
256
|
+
path: bin
|
|
257
|
+
|
|
258
|
+
combine:
|
|
259
|
+
name: Combine artifacts
|
|
260
|
+
runs-on: ubuntu-latest
|
|
261
|
+
needs: [windows, linux, macos]
|
|
262
|
+
steps:
|
|
263
|
+
- name: Download artifacts
|
|
264
|
+
uses: actions/download-artifact@v8
|
|
265
|
+
with:
|
|
266
|
+
path: artifacts
|
|
267
|
+
|
|
268
|
+
- name: Display structure of downloaded files
|
|
269
|
+
run: ls -R
|
|
270
|
+
working-directory: artifacts
|
|
271
|
+
|
|
272
|
+
- name: Combine
|
|
273
|
+
run: |
|
|
274
|
+
mkdir jolt_libs
|
|
275
|
+
cp -r artifacts/libs_windows/* jolt_libs
|
|
276
|
+
cp -r artifacts/libs_linux/* jolt_libs
|
|
277
|
+
cp -r artifacts/libs_osx/* jolt_libs
|
|
278
|
+
|
|
279
|
+
- uses: edgarrc/action-7z@v1
|
|
280
|
+
with:
|
|
281
|
+
args: 7z a -t7z jolt_libs.7z ./jolt_libs/
|
|
282
|
+
|
|
283
|
+
- uses: AButler/upload-release-assets@v2.0
|
|
284
|
+
if: github.event_name == 'release' && github.event.action == 'created'
|
|
285
|
+
with:
|
|
286
|
+
files: jolt_libs.zip
|
|
287
|
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
288
|
+
|
|
289
|
+
- uses: actions/upload-artifact@v7
|
|
290
|
+
with:
|
|
291
|
+
name: 'Build Artifacts'
|
|
292
|
+
path: jolt_libs.7z
|
|
293
|
+
- uses: geekyeggo/delete-artifact@v6
|
|
294
|
+
with:
|
|
295
|
+
name: |
|
|
296
|
+
libs_windows
|
|
297
|
+
libs_linux
|
|
298
|
+
libs_osx
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
syntax: glob
|
|
2
|
+
|
|
3
|
+
#NuGet things
|
|
4
|
+
project.lock.json
|
|
5
|
+
|
|
6
|
+
### VisualStudio ###
|
|
7
|
+
|
|
8
|
+
# User-specific files
|
|
9
|
+
*.suo
|
|
10
|
+
*.user
|
|
11
|
+
*.userosscache
|
|
12
|
+
*.sln.docstates
|
|
13
|
+
|
|
14
|
+
# Build results
|
|
15
|
+
[Dd]ebug/
|
|
16
|
+
[Dd]ebugPublic/
|
|
17
|
+
[Rr]elease/
|
|
18
|
+
[Rr]eleases/
|
|
19
|
+
x64/
|
|
20
|
+
x86/
|
|
21
|
+
bld/
|
|
22
|
+
[Bb]in/
|
|
23
|
+
[Oo]bj/
|
|
24
|
+
msbuild.log
|
|
25
|
+
|
|
26
|
+
# Visual Studio 2015
|
|
27
|
+
.vs/
|
|
28
|
+
|
|
29
|
+
# Visual Studio 2015 Pre-CTP6
|
|
30
|
+
*.sln.ide
|
|
31
|
+
*.ide/
|
|
32
|
+
|
|
33
|
+
# MSTest test Results
|
|
34
|
+
[Tt]est[Rr]esult*/
|
|
35
|
+
[Bb]uild[Ll]og.*
|
|
36
|
+
|
|
37
|
+
#NUNIT
|
|
38
|
+
*.VisualState.xml
|
|
39
|
+
TestResult.xml
|
|
40
|
+
|
|
41
|
+
# Build Results of an ATL Project
|
|
42
|
+
[Dd]ebugPS/
|
|
43
|
+
[Rr]eleasePS/
|
|
44
|
+
dlldata.c
|
|
45
|
+
|
|
46
|
+
*_i.c
|
|
47
|
+
*_p.c
|
|
48
|
+
*_i.h
|
|
49
|
+
*.ilk
|
|
50
|
+
*.meta
|
|
51
|
+
*.obj
|
|
52
|
+
*.pch
|
|
53
|
+
*.pdb
|
|
54
|
+
*.pgc
|
|
55
|
+
*.pgd
|
|
56
|
+
*.rsp
|
|
57
|
+
*.sbr
|
|
58
|
+
*.tlb
|
|
59
|
+
*.tli
|
|
60
|
+
*.tlh
|
|
61
|
+
*.tmp
|
|
62
|
+
*.tmp_proj
|
|
63
|
+
*.log
|
|
64
|
+
*.vspscc
|
|
65
|
+
*.vssscc
|
|
66
|
+
.builds
|
|
67
|
+
*.pidb
|
|
68
|
+
*.svclog
|
|
69
|
+
*.scc
|
|
70
|
+
|
|
71
|
+
# Chutzpah Test files
|
|
72
|
+
_Chutzpah*
|
|
73
|
+
|
|
74
|
+
# Visual C++ cache files
|
|
75
|
+
ipch/
|
|
76
|
+
*.aps
|
|
77
|
+
*.ncb
|
|
78
|
+
*.opensdf
|
|
79
|
+
*.sdf
|
|
80
|
+
*.cachefile
|
|
81
|
+
|
|
82
|
+
# Visual Studio profiler
|
|
83
|
+
*.psess
|
|
84
|
+
*.vsp
|
|
85
|
+
*.vspx
|
|
86
|
+
|
|
87
|
+
# TFS 2012 Local Workspace
|
|
88
|
+
$tf/
|
|
89
|
+
|
|
90
|
+
# Guidance Automation Toolkit
|
|
91
|
+
*.gpState
|
|
92
|
+
|
|
93
|
+
# ReSharper is a .NET coding add-in
|
|
94
|
+
_ReSharper*/
|
|
95
|
+
*.[Rr]e[Ss]harper
|
|
96
|
+
*.DotSettings.user
|
|
97
|
+
|
|
98
|
+
# JustCode is a .NET coding addin-in
|
|
99
|
+
.JustCode
|
|
100
|
+
|
|
101
|
+
# TeamCity is a build add-in
|
|
102
|
+
_TeamCity*
|
|
103
|
+
|
|
104
|
+
# DotCover is a Code Coverage Tool
|
|
105
|
+
*.dotCover
|
|
106
|
+
|
|
107
|
+
# NCrunch
|
|
108
|
+
_NCrunch_*
|
|
109
|
+
.*crunch*.local.xml
|
|
110
|
+
|
|
111
|
+
# MightyMoose
|
|
112
|
+
*.mm.*
|
|
113
|
+
AutoTest.Net/
|
|
114
|
+
|
|
115
|
+
# Web workbench (sass)
|
|
116
|
+
.sass-cache/
|
|
117
|
+
|
|
118
|
+
# Installshield output folder
|
|
119
|
+
[Ee]xpress/
|
|
120
|
+
|
|
121
|
+
# DocProject is a documentation generator add-in
|
|
122
|
+
DocProject/buildhelp/
|
|
123
|
+
DocProject/Help/*.HxT
|
|
124
|
+
DocProject/Help/*.HxC
|
|
125
|
+
DocProject/Help/*.hhc
|
|
126
|
+
DocProject/Help/*.hhk
|
|
127
|
+
DocProject/Help/*.hhp
|
|
128
|
+
DocProject/Help/Html2
|
|
129
|
+
DocProject/Help/html
|
|
130
|
+
|
|
131
|
+
# Click-Once directory
|
|
132
|
+
publish/
|
|
133
|
+
|
|
134
|
+
# Publish Web Output
|
|
135
|
+
*.[Pp]ublish.xml
|
|
136
|
+
*.azurePubxml
|
|
137
|
+
*.pubxml
|
|
138
|
+
*.publishproj
|
|
139
|
+
|
|
140
|
+
# NuGet Packages
|
|
141
|
+
*.nupkg
|
|
142
|
+
**/packages/*
|
|
143
|
+
|
|
144
|
+
# Windows Azure Build Output
|
|
145
|
+
csx/
|
|
146
|
+
*.build.csdef
|
|
147
|
+
|
|
148
|
+
# Windows Store app package directory
|
|
149
|
+
AppPackages/
|
|
150
|
+
|
|
151
|
+
# Others
|
|
152
|
+
sql/
|
|
153
|
+
*.Cache
|
|
154
|
+
ClientBin/
|
|
155
|
+
[Ss]tyle[Cc]op.*
|
|
156
|
+
~$*
|
|
157
|
+
*.dbmdl
|
|
158
|
+
*.dbproj.schemaview
|
|
159
|
+
*.pfx
|
|
160
|
+
*.publishsettings
|
|
161
|
+
node_modules/
|
|
162
|
+
*.metaproj
|
|
163
|
+
*.metaproj.tmp
|
|
164
|
+
|
|
165
|
+
# RIA/Silverlight projects
|
|
166
|
+
Generated_Code/
|
|
167
|
+
|
|
168
|
+
# Backup & report files from converting an old project file
|
|
169
|
+
# to a newer Visual Studio version. Backup files are not needed,
|
|
170
|
+
# because we have git ;-)
|
|
171
|
+
_UpgradeReport_Files/
|
|
172
|
+
Backup*/
|
|
173
|
+
UpgradeLog*.XML
|
|
174
|
+
UpgradeLog*.htm
|
|
175
|
+
|
|
176
|
+
# SQL Server files
|
|
177
|
+
*.mdf
|
|
178
|
+
*.ldf
|
|
179
|
+
|
|
180
|
+
# Business Intelligence projects
|
|
181
|
+
*.rdl.data
|
|
182
|
+
*.bim.layout
|
|
183
|
+
*.bim_*.settings
|
|
184
|
+
|
|
185
|
+
# Microsoft Fakes
|
|
186
|
+
FakesAssemblies/
|
|
187
|
+
|
|
188
|
+
### MonoDevelop ###
|
|
189
|
+
|
|
190
|
+
*.pidb
|
|
191
|
+
*.userprefs
|
|
192
|
+
|
|
193
|
+
### Windows ###
|
|
194
|
+
|
|
195
|
+
# Windows image file caches
|
|
196
|
+
Thumbs.db
|
|
197
|
+
ehthumbs.db
|
|
198
|
+
|
|
199
|
+
# Folder config file
|
|
200
|
+
Desktop.ini
|
|
201
|
+
|
|
202
|
+
# Recycle Bin used on file shares
|
|
203
|
+
$RECYCLE.BIN/
|
|
204
|
+
|
|
205
|
+
# Windows Installer files
|
|
206
|
+
*.cab
|
|
207
|
+
*.msi
|
|
208
|
+
*.msm
|
|
209
|
+
*.msp
|
|
210
|
+
|
|
211
|
+
# Windows shortcuts
|
|
212
|
+
*.lnk
|
|
213
|
+
|
|
214
|
+
### Linux ###
|
|
215
|
+
|
|
216
|
+
*~
|
|
217
|
+
|
|
218
|
+
# KDE directory preferences
|
|
219
|
+
.directory
|
|
220
|
+
|
|
221
|
+
### OSX ###
|
|
222
|
+
|
|
223
|
+
.DS_Store
|
|
224
|
+
.AppleDouble
|
|
225
|
+
.LSOverride
|
|
226
|
+
|
|
227
|
+
# Icon must end with two \r
|
|
228
|
+
Icon
|
|
229
|
+
|
|
230
|
+
# Thumbnails
|
|
231
|
+
._*
|
|
232
|
+
|
|
233
|
+
# Files that might appear on external disk
|
|
234
|
+
.Spotlight-V100
|
|
235
|
+
.Trashes
|
|
236
|
+
|
|
237
|
+
# Directories potentially created on remote AFP share
|
|
238
|
+
.AppleDB
|
|
239
|
+
.AppleDesktop
|
|
240
|
+
Network Trash Folder
|
|
241
|
+
Temporary Items
|
|
242
|
+
.apdisk
|
|
243
|
+
|
|
244
|
+
# vim temporary files
|
|
245
|
+
[._]*.s[a-w][a-z]
|
|
246
|
+
[._]s[a-w][a-z]
|
|
247
|
+
*.un~
|
|
248
|
+
Session.vim
|
|
249
|
+
.netrwhist
|
|
250
|
+
*~
|
|
251
|
+
|
|
252
|
+
*.ini
|
|
253
|
+
*.VC.db
|
|
254
|
+
*.nvact
|
|
255
|
+
*.opendb
|
|
256
|
+
|
|
257
|
+
#VS Code stuff
|
|
258
|
+
|
|
259
|
+
.vscode
|
|
260
|
+
launchSettings.json
|
|
261
|
+
|
|
262
|
+
# CAKE
|
|
263
|
+
tools/
|
|
264
|
+
|
|
265
|
+
# Artifacts
|
|
266
|
+
artifacts/
|
|
267
|
+
artifacts-*/
|
|
268
|
+
|
|
269
|
+
build/*
|
|
270
|
+
|
|
271
|
+
# Rider
|
|
272
|
+
.idea
|