Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
  • Loading branch information
ajlennon committed Jul 20, 2024
1 parent ba758fb commit 67633ed
Showing 1 changed file with 22 additions and 26 deletions.
48 changes: 22 additions & 26 deletions .github/actions/compile_gdextension/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ runs:
fi
- name: Build Opus (Linux)
if: runner.os == 'Linux'
if: runner.os == 'Linux' && inputs.platform == 'linux'
shell: bash
run: |
echo "::group::๐Ÿ› ๏ธ Opus Compilation (Linux) ๐Ÿ› ๏ธ"
Expand All @@ -101,7 +101,7 @@ runs:
make
- name: Build Opus (iOS)
if: runner.os == 'iOS'
if: runner.os == 'iOS' && inputs.platform == 'ios'
shell: bash
run: |
echo "::group::๐Ÿ› ๏ธ Opus Compilation (iOS) ๐Ÿ› ๏ธ"
Expand All @@ -111,38 +111,34 @@ runs:
make
- name: Build Opus (Android arm32)
if: runner.os == 'Android'
if: inputs.platform == 'ios' && inputs.arch == 'arm32'
shell: bash
run: |
if [[ "${{inputs.arch}}" == "arm32" ]];then
echo "::group::๐Ÿ› ๏ธ Opus Compilation (Android arm32) ๐Ÿ› ๏ธ"
cd opus
cmake .. -DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=armeabi-v7a
cd build
make
fi
echo "::group::๐Ÿ› ๏ธ Opus Compilation (Android arm32) ๐Ÿ› ๏ธ"
cd opus
cmake .. -DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=armeabi-v7a
cd build
make
- name: Build Opus (Android arm64)
if: runner.os == 'Android'
if: inputs.platform == 'android' && inputs.arch == 'arm64'
shell: bash
run: |
if [[ "${{inputs.arch}}" == "arm64" ]];then
echo "::group::๐Ÿ› ๏ธ Opus Compilation (Android arm64) ๐Ÿ› ๏ธ"
cd opus
cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a
cd build
make
fi
echo "::group::๐Ÿ› ๏ธ Opus Compilation (Android arm64) ๐Ÿ› ๏ธ"
cd opus
cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a
cd build
make
- name: Build Opus (Android x86_64)
if: runner.os == 'Android'
if: inputs.platform == 'android' && inputs.arch == 'x86_64'
shell: bash
run: |
if [[ "${{inputs.arch}}" == "x86_64" ]];then
echo "::group::๐Ÿ› ๏ธ Opus Compilation (Android x86_64) ๐Ÿ› ๏ธ"
cd opus
cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake
cd build
make
fi
echo "::group::๐Ÿ› ๏ธ Opus Compilation (Android x86_64) ๐Ÿ› ๏ธ"
cd opus
cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake
cd build
make
- name: Add msbuild to PATH
if: runner.os == 'Windows'
Expand Down

0 comments on commit 67633ed

Please sign in to comment.