-
Notifications
You must be signed in to change notification settings - Fork 2
56 lines (47 loc) · 1.36 KB
/
build-ffmpeg-x86_64-pc-windows-msvc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: build-ffmpeg-x86_64-pc-windows-msvc
on:
push
concurrency:
group: ${{ github.ref }}-build-ffmpeg-x86_64-pc-windows-msvc
cancel-in-progress: true
jobs:
build-ffmpeg-x86_64-pc-windows-msvc:
runs-on: windows-latest
# env:
# CC: cl
steps:
- uses: ilammy/msvc-dev-cmd@v1
# - uses: msys2/setup-msys2@v2
# with:
# update: true
# install: >-
# yasm
# nasm
# - uses: actions/checkout@v3
# with:
# repository: FFmpeg/FFmpeg
# ref: release/6.1
- run: |
# mv /usr/bin/link.exe /usr/bin/link.exe.bak
which link.exe
which cl.exe
# Disable all media foundation things.
./configure \
--toolchain=msvc \
--arch=x86_64 \
--disable-programs \
--enable-yasm \
--enable-asm \
--disable-outdev=dshow \
--disable-encoder=aac_mf_encoder \
--disable-encoder=ac3_mf_encoder \
--disable-encoder=h264_mf_encoder \
--disable-encoder=hevc_mf_encoder \
--disable-encoder=mp3_mf_encoder
make -j$(nproc)
make install
ls -R /c/ffmpeg
- uses: actions/upload-artifact@v4
with:
name: ffmpeg-x86_64-pc-windows-msvc
path: /c/ffmpeg