Update ffmpeg.yml
This commit is contained in:
parent
ae8c11f6d0
commit
7b55091f9a
45
.github/workflows/ffmpeg.yml
vendored
45
.github/workflows/ffmpeg.yml
vendored
@ -16,6 +16,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
libogg:
|
libogg:
|
||||||
|
if: ${{ false }}
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- name: Set up MSYS2
|
- name: Set up MSYS2
|
||||||
@ -52,6 +53,43 @@ jobs:
|
|||||||
name: libogg
|
name: libogg
|
||||||
path: dist/libogg.tgz
|
path: dist/libogg.tgz
|
||||||
|
|
||||||
|
libvorbis:
|
||||||
|
runs-on: windows-2019
|
||||||
|
steps:
|
||||||
|
- name: Set up MSYS2
|
||||||
|
uses: msys2/setup-msys2@v2
|
||||||
|
with:
|
||||||
|
install: base-devel binutils autotools automake
|
||||||
|
path-type: inherit
|
||||||
|
- name: Set up cache
|
||||||
|
uses: actions/cache@v2
|
||||||
|
env:
|
||||||
|
cache-name: cache-ffmpeg-${{ env.msysConfig }}
|
||||||
|
with:
|
||||||
|
path: cache
|
||||||
|
key: cache-key
|
||||||
|
- name: Set up GIT
|
||||||
|
run: |
|
||||||
|
git config --global core.autocrlf false
|
||||||
|
git config --global core.eol lf
|
||||||
|
- name: Checkout LibVORBIS
|
||||||
|
uses: actions/checkout@v3.0.0
|
||||||
|
with:
|
||||||
|
repository: xiph/vorbis
|
||||||
|
ref: master
|
||||||
|
path: repo
|
||||||
|
- name: Build LibVORBIS
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat"
|
||||||
|
md build dist
|
||||||
|
D:\a\_temp\setup-msys2\msys2.cmd -c 'cd repo ; autoreconf -i ; CC=cl.exe CXX=cl.exe CXXFLAGS=${{ env.cFlags }} ./configure --prefix=$(realpath ../build) --disable-shared ; make -j ; make install ; sed -i '/^Libs\.private.*/d' ../build/lib/pkgconfig/vorbis.pc ; cd ../build ; tar czf ../dist/libvorbis.tgz *'
|
||||||
|
- name: Publish artifact
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: libvorbis
|
||||||
|
path: dist/libvorbis.tgz
|
||||||
|
|
||||||
nvenc:
|
nvenc:
|
||||||
if: ${{ false }}
|
if: ${{ false }}
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
@ -80,13 +118,6 @@ jobs:
|
|||||||
- name: Set up MSYS2
|
- name: Set up MSYS2
|
||||||
run: echo "bla"
|
run: echo "bla"
|
||||||
|
|
||||||
libvorbis:
|
|
||||||
if: ${{ false }}
|
|
||||||
runs-on: windows-2019
|
|
||||||
steps:
|
|
||||||
- name: Set up MSYS2
|
|
||||||
run: echo "bla"
|
|
||||||
|
|
||||||
libsnappy:
|
libsnappy:
|
||||||
if: ${{ false }}
|
if: ${{ false }}
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
|
Loading…
x
Reference in New Issue
Block a user