From 42b0cd6da36f8af31eb29bd6322f51cc17fc97ea Mon Sep 17 00:00:00 2001 From: Konstantin Gindemit Date: Thu, 13 Jul 2023 10:17:49 +0200 Subject: [PATCH] ~ Trying to build the bitcode file for web gl --- .github/workflows/build_native_libraries.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_native_libraries.yaml b/.github/workflows/build_native_libraries.yaml index b67ad67..1ca759c 100644 --- a/.github/workflows/build_native_libraries.yaml +++ b/.github/workflows/build_native_libraries.yaml @@ -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