Skip to content

batch-stable

batch-stable #90

Workflow file for this run

name: batch-stable
on:
workflow_dispatch:
jobs:
ffmpeg:
runs-on: windows-latest
steps:
- uses: actions/cache@v4
id: cache
with:
path: D:\msys64
key: mcf_20250707_15.1.1_x64-ucrt
- name: Prepare
run: git config --global core.autocrlf false
- uses: actions/checkout@v4
- name: Build
env:
C_INCLUDE_PATH: /opt/include
CPLUS_INCLUDE_PATH: /opt/include
LIBRARY_PATH: /opt/lib
MSYSTEM: UCRT64
run: |
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/lame-dev-3.100-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libogg-dev-1.3.5-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libvorbis_aotuv-dev-1.3.7-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/opus-dev-1.5.2-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/ffnvcodec-dev-13.0.19.0-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/vapoursynth-dev-72-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/vulkan-dev-1.4.309.0-1-x86_64.pkg.tar.zst
D:\msys64\usr\bin\bash -lc "pacman -U /d/a/mpv-win64/mpv-win64/*.zst --noconfirm"
D:\msys64\usr\bin\bash -lc 'cd /d/a/mpv-win64/mpv-win64/ffmpeg; PATH=/usr/bin:/opt/bin:/ucrt64/bin PKG_CONFIG_PATH=/opt/lib/pkgconfig makepkg'
- name: Delete
uses: mknejp/delete-release-assets@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: latest
assets: ffmpeg*
fail-if-no-assets: false
fail-if-no-release: false
- name: Delete Dev
uses: mknejp/delete-release-assets@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: dev
assets: ffmpeg*
fail-if-no-assets: false
fail-if-no-release: false
- name: Upload
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ffmpeg/*pkg*.xz
tag: latest
overwrite: true
file_glob: true
- name: Upload Dev
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ffmpeg/*.zst
tag: dev
overwrite: true
file_glob: true
mpv:
needs: [ffmpeg]
runs-on: windows-latest
steps:
- uses: actions/cache@v4
id: cache
with:
path: D:\msys64
key: mcf_20250707_15.1.1_x64-ucrt
- name: Prepare
run: git config --global core.autocrlf false
- uses: actions/checkout@v4
- name: Build
env:
C_INCLUDE_PATH: /opt/include:/opt/include/vapoursynth
CPLUS_INCLUDE_PATH: /opt/include:/opt/include/vapoursynth
LIBRARY_PATH: /opt/lib
MSYSTEM: UCRT64
run: |
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/ffmpeg-dev-7.1.1-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/luajit-dev-2.1-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/ffnvcodec-dev-13.0.19.0-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/vapoursynth-dev-72-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/freetype2-dev-2.13.3-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/fribidi-dev-1.0.16-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/harfbuzz-dev-11.2.1-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libass-dev-0.17.4-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/lcms2-dev-2.17-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libbluray-dev-1.3.4-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libdvdcss-dev-1.4.3-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libdvdread-dev-6.1.3-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libdvdnav-dev-6.1.1-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/vulkan-dev-1.4.309.0-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/shaderc-dev-2025.3-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/spirv-cross-dev-1.4.313.0-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libdovi-dev-3.3.2-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libplacebo-dev-7.351.0-1-x86_64.pkg.tar.zst
D:\msys64\usr\bin\bash -lc "pacman -U /d/a/mpv-win64/mpv-win64/*.zst --noconfirm"
D:\msys64\usr\bin\bash -lc 'cd /d/a/mpv-win64/mpv-win64/mpv; PATH=/usr/bin:/opt/bin:/ucrt64/bin PKG_CONFIG_PATH=/opt/lib/pkgconfig makepkg'
- name: Delete
uses: mknejp/delete-release-assets@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: latest
assets: mpv*
fail-if-no-assets: false
fail-if-no-release: false
- name: Upload
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: mpv/*pkg*.xz
tag: latest
overwrite: true
file_glob: true
package:
runs-on: windows-latest
needs: [mpv]
steps:
- name: Package
run: |
$date = Get-Date -Format "yyyyMMdd"
curl -OL https://github.com/${{ github.repository }}/releases/download/latest/ffmpeg-7.1.1-1-x86_64.pkg.tar.xz
curl -OL https://github.com/${{ github.repository }}/releases/download/latest/luajit-2.1-1-x86_64.pkg.tar.xz
curl -OL https://github.com/${{ github.repository }}/releases/download/latest/vapoursynth-72-1-x86_64.pkg.tar.xz
curl -OL https://github.com/${{ github.repository }}/releases/download/latest/mpv-0.40.0-1-x86_64.pkg.tar.xz
curl -OL https://github.com/${{ github.repository }}/releases/download/latest/mcfgthread-20250707-1-x86_64.pkg.tar.xz
C:\msys64\usr\bin\bash -lc "pacman -U /d/a/mpv-win64/mpv-win64/*.xz --noconfirm"
md C:\msys64\opt\bin\portable_config
del *.xz
7z a All-in-One-MPV-withoutPython-${date}.7z C:\msys64\opt\bin\*
copy All-in-One-MPV-withoutPython-${date}.7z All-in-One-MPV-withoutPython-latest.7z
curl -OL https://github.com/${{ github.repository }}/releases/download/latest/python-embed-3.13.5-1-x86_64.pkg.tar.xz
curl -OL https://github.com/${{ github.repository }}/releases/download/latest/vapoursynth-plugin-core-extra-72-1-x86_64.pkg.tar.xz
C:\msys64\usr\bin\bash -lc "pacman -U /d/a/mpv-win64/mpv-win64/*.xz --noconfirm"
7z a All-in-One-MPV-${date}.7z C:\msys64\opt\bin\*
copy All-in-One-MPV-${date}.7z All-in-One-MPV-latest.7z
- name: Upload
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: All*.7z
tag: latest
overwrite: true
file_glob: true