Skip to content

Commit

Permalink
~ Trying to build the bitcode file for web gl
Browse files Browse the repository at this point in the history
  • Loading branch information
gindemit committed Jul 13, 2023
1 parent 1504b2b commit 42b0cd6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build_native_libraries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,16 +175,15 @@ jobs:
emmake cmake --build ./buildWebGL --config Release
cd ../..
mkdir -p out/Release/Plugins/WebGL
emcc -O3 -s WASM=1 -s EXPORTED_RUNTIME_METHODS='["cwrap", "ccall"]' -s EXPORTED_FUNCTIONS='["_lottie_load_from_data", "_lottie_load_from_file", "_lottie_dispose_wrapper", "_lottie_render_immediately", "_lottie_render_create_future_async", "_lottie_render_get_future_result", "_lottie_allocate_render_data", "_lottie_dispose_render_data"]' -o out/Release/Plugins/WebGL/LottiePlugin.js out/Plugins/Emscripten/x86/libLottiePlugin.a out/Plugins/Emscripten/x86/librlottie.a
emcc -O3 -s EXPORTED_RUNTIME_METHODS='["cwrap", "ccall"]' -s EXPORTED_FUNCTIONS='["_lottie_load_from_data", "_lottie_load_from_file", "_lottie_dispose_wrapper", "_lottie_render_immediately", "_lottie_render_create_future_async", "_lottie_render_get_future_result", "_lottie_allocate_render_data", "_lottie_dispose_render_data"]' -o out/Release/Plugins/WebGL/LottiePlugin.bc out/Plugins/Emscripten/x86/libLottiePlugin.a out/Plugins/Emscripten/x86/librlottie.a
tree out
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: LottiePluginWebGLArtifacts
path: |
out/Release/Plugins/WebGL/LottiePlugin.js
out/Release/Plugins/WebGL/LottiePlugin.wasm
path: out/Release/Plugins/WebGL/LottiePlugin.bc

# run_tests_and_build_unity:
# needs: [build_windows, build_android, build_macos, build_ios, build_linux]
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 42b0cd6

Please sign in to comment.