Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/unity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,21 @@ jobs:
- name: build_android_x86_dracoenc_unity
run: cmake --build build_android_x86 --target dracoenc_unity -j

- name: configure_android_x86_64
run: >
cmake -B build_android_x86_64 -DANDROID_ABI=x86_64
-DCMAKE_BUILD_TYPE=MinSizeRel
-DANDROID_NDK=${{ steps.setup-ndk.outputs.ndk-path }}
-DCMAKE_TOOLCHAIN_FILE="${{ steps.setup-ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake"
-DDRACO_UNITY_PLUGIN=ON
-DDRACO_GLTF_BITSTREAM=ON
-DDRACO_BACKWARDS_COMPATIBILITY=OFF
- name: build_android_x86_64_dracodec_unity
run: cmake --build build_android_x86_64 --target dracodec_unity -j
- name: build_android_x86_64_dracoenc_unity
run: cmake --build build_android_x86_64 --target dracoenc_unity -j


# Emscripten
- name: setup Emscripten
uses: mymindstorm/setup-emsdk@v12
Expand Down Expand Up @@ -328,6 +343,7 @@ jobs:
mkdir -p draco_linux/Android/libs/arm64-v8a
mkdir -p draco_linux/Android/libs/armeabi-v7a
mkdir -p draco_linux/Android/libs/x86
mkdir -p draco_linux/Android/libs/x86_64
mv build_android_arm64-v8a/libdracodec_unity.so \
draco_linux/Android/libs/arm64-v8a
mv build_android_arm64-v8a/libdracoenc_unity.so \
Expand All @@ -340,6 +356,10 @@ jobs:
draco_linux/Android/libs/x86
mv build_android_x86/libdracoenc_unity.so \
draco_linux/Android/libs/x86
mv build_android_x86_64/libdracodec_unity.so \
draco_linux/Android/libs/x86_64
mv build_android_x86_64/libdracoenc_unity.so \
draco_linux/Android/libs/x86_64
- name: upload artifact
uses: actions/upload-artifact@v3
with:
Expand Down