From a504062cb858c2a7eeb8c3cb63ecf07aa224af94 Mon Sep 17 00:00:00 2001 From: Damontecres Date: Wed, 5 Nov 2025 16:42:11 -0500 Subject: [PATCH] WIP CI --- .github/actions/native-build/action.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/actions/native-build/action.yml b/.github/actions/native-build/action.yml index 942c9c0f..f276b4f0 100644 --- a/.github/actions/native-build/action.yml +++ b/.github/actions/native-build/action.yml @@ -18,6 +18,7 @@ runs: - name: Build ffmpeg decoder id: ffmpeg-decoder if: steps.cache_ffmpeg_module.outputs.cache-hit != 'true' + shell: bash run: | ./build_ffmpeg_decoder.sh "${{ env.ANDROID_SDK_ROOT }}/ndk/${{ env.NDK_VERSION }}" - name: Save ffmpeg module cache @@ -37,18 +38,22 @@ runs: app/src/main/libs key: ${{ runner.os }}-libmpv-${{ hashFiles('**/scripts/mpv/*.sh', '**/scripts/mpv/include/*', '**/scripts/mpv/scripts/*') }} - - name: Install python dependencies + - name: Install dependencies if: steps.cache_libmpv_module.outputs.cache-hit != 'true' + shell: bash run: | python -m pip install --upgrade pip - pip install jsonschema jinja2 meson + pip install jsonschema jinja2 + apt install -y build-essential autoconf pkg-config libtool ninja-build unzip wget meson - name: Get libmpv dependencies if: steps.cache_libmpv_module.outputs.cache-hit != 'true' + shell: bash run: | cd scripts/mpv ./get_dependencies - name: Build libmpv dependencies if: steps.cache_libmpv_module.outputs.cache-hit != 'true' + shell: bash run: | cd scripts/mpv ./buildall.sh --clean --arch arm64 mpv