Skip to content

Commit

Permalink
Update ffmpeg.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eko5624 authored Jan 30, 2023
1 parent 5a2fd8f commit fac2c04
Showing 1 changed file with 16 additions and 40 deletions.
56 changes: 16 additions & 40 deletions .github/workflows/ffmpeg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: msys2/setup-msys2@v2
with:
location: D:\
install: base-devel autoconf-wrapper automake-wrapper libtool nasm git
install: base-devel autoconf-wrapper automake-wrapper libtool nasm git
- name: Prepare
run: git config --global core.autocrlf input
shell: bash
Expand All @@ -30,72 +30,48 @@ jobs:
MSYSTEM: UCRT64
shell: msys2 {0}
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/libjxl-dev-0.8.0-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libvpl-dev-2023.1.2-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/amf-headers-dev-1.4.29-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/avisynth-dev-3.7.2-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/dav1d-dev-1.0.0-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/davs2-dev-1.7-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/ffnvcodec-dev-11.1.5.2-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/gmp-dev-6.2.1-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/mbedtls-dev-3.3.0-1-x86_64.pkg.tar.zst
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/libbs2b-dev-3.1.0-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libmodplug-dev-0.8.9.0-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libiconv-dev-1.17-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libpng-dev-1.6.39-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libjxl-dev-0.8.0-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libmodplug-dev-0.8.9.0-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libmysofa-dev-1.3.1-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/libopenmpt-dev-0.6.7-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libpng-dev-1.6.39-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libsdl2-dev-2.26.2-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libsoxr-dev-0.1.3-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libspeex-dev-1.2.1-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libsrt-dev-1.5.1-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libssh-dev-0.10.4-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/libvpl-dev-2023.1.2-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libvpx-dev-1.12.0-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libwebp-dev-1.3.0-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libxml2-dev-2.10.3-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libxvid-dev-1.3.7-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libzimg-dev-3.0.4-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/libzvbi-dev-0.2.39-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/mbedtls-dev-3.3.0-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/opus-dev-1.3.1-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/ffnvcodec-dev-11.1.5.2-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/uavs3d-dev-1.1-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/vapoursynth-dev-61-1-x86_64.pkg.tar.zst
curl -OL https://github.com/${{ github.repository }}/releases/download/dev/zlib-dev-1.2.13-1-x86_64.pkg.tar.zst
pacman -U *.zst --noconfirm
cd ffmpeg; PATH=/usr/bin:/opt/bin:/d/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@master
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@master
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ffmpeg/*.zst
tag: dev
overwrite: true
file_glob: true
- name: Release
env:
GH_TOKEN: ${{ github.token }}
CURL_RETRIES: "--connect-timeout 60 --retry 5 --retry-delay 5"
shell: bash
run: |
./release-latest.sh ffmpeg-git ffmpeg
./release-dev.sh ffmpeg-dev ffmpeg

0 comments on commit fac2c04

Please sign in to comment.