mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
WIP CI
This commit is contained in:
parent
5bc2784174
commit
a504062cb8
1 changed files with 7 additions and 2 deletions
9
.github/actions/native-build/action.yml
vendored
9
.github/actions/native-build/action.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue