This commit is contained in:
Damontecres 2025-11-05 16:42:11 -05:00
parent 5bc2784174
commit a504062cb8
No known key found for this signature in database

View file

@ -18,6 +18,7 @@ runs:
- name: Build ffmpeg decoder - name: Build ffmpeg decoder
id: ffmpeg-decoder id: ffmpeg-decoder
if: steps.cache_ffmpeg_module.outputs.cache-hit != 'true' if: steps.cache_ffmpeg_module.outputs.cache-hit != 'true'
shell: bash
run: | run: |
./build_ffmpeg_decoder.sh "${{ env.ANDROID_SDK_ROOT }}/ndk/${{ env.NDK_VERSION }}" ./build_ffmpeg_decoder.sh "${{ env.ANDROID_SDK_ROOT }}/ndk/${{ env.NDK_VERSION }}"
- name: Save ffmpeg module cache - name: Save ffmpeg module cache
@ -37,18 +38,22 @@ runs:
app/src/main/libs app/src/main/libs
key: ${{ runner.os }}-libmpv-${{ hashFiles('**/scripts/mpv/*.sh', '**/scripts/mpv/include/*', '**/scripts/mpv/scripts/*') }} 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' if: steps.cache_libmpv_module.outputs.cache-hit != 'true'
shell: bash
run: | run: |
python -m pip install --upgrade pip 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 - name: Get libmpv dependencies
if: steps.cache_libmpv_module.outputs.cache-hit != 'true' if: steps.cache_libmpv_module.outputs.cache-hit != 'true'
shell: bash
run: | run: |
cd scripts/mpv cd scripts/mpv
./get_dependencies ./get_dependencies
- name: Build libmpv dependencies - name: Build libmpv dependencies
if: steps.cache_libmpv_module.outputs.cache-hit != 'true' if: steps.cache_libmpv_module.outputs.cache-hit != 'true'
shell: bash
run: | run: |
cd scripts/mpv cd scripts/mpv
./buildall.sh --clean --arch arm64 mpv ./buildall.sh --clean --arch arm64 mpv