mirror of
https://github.com/icewind1991/purpledot.git
synced 2026-06-04 01:54:11 +02:00
ci: pin ffmpeg
This commit is contained in:
parent
7353234a92
commit
e21fe2cbb7
2 changed files with 15 additions and 4 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -51,12 +51,12 @@ jobs:
|
|||
id: cache-ffmpeg
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ffmpeg_build
|
||||
path: ~/ffmpeg_build
|
||||
key: ${{ runner.os }}-ffmpeg
|
||||
- name: Build ffmpeg
|
||||
if: steps.cache-ffmpeg.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
git clone https://github.com/ffmpeg/ffmpeg --depth 1
|
||||
git clone https://github.com/ffmpeg/ffmpeg --branch n6.0 --depth 1
|
||||
cd ffmpeg
|
||||
mkdir build
|
||||
cd build
|
||||
|
|
@ -101,9 +101,11 @@ jobs:
|
|||
- name: Vcpkg install ffmpeg
|
||||
if: steps.cache-vcpkg.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
git clone https://github.com/microsoft/vcpkg --depth 1
|
||||
git clone https://github.com/microsoft/vcpkg -b 2023.07.21 --single-branch --depth 1
|
||||
./vcpkg/bootstrap-vcpkg.bat
|
||||
./vcpkg/vcpkg.exe install ffmpeg:x64-windows-static
|
||||
cp ${{ github.workspace }}/vcpkg.json ./vcpkg/
|
||||
./vcpkg/vcpkg x-update-baseline --add-initial-baseline
|
||||
./vcpkg/vcpkg.exe install
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue