Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ jobs:
strategy:
fail-fast: false
matrix:
build: [linux, windows, macos, android]
build: [linux, windows, macos, android, ios]
arch: [x64, arm, arm64]
exclude:
- build: windows
arch: arm
- build: macos
arch: arm
- build: ios
arch: arm

include:
- build: linux
Expand Down Expand Up @@ -75,6 +77,23 @@ jobs:
arch: arm
triplet: neon-android

- build: ios
os: macos-latest
triplet: ios-release
vcpkg-root: /Users/runner/vcpkg
extra-args: ""

- build: ios
arch: x64
triplet: ios

- build: ios-simulator
os: macos-latest
arch: arm64
triplet: ios-simulator-release
vcpkg-root: /Users/runner/vcpkg
extra-args: ""

steps:
- run: git config --global core.autocrlf input

Expand Down
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ target_include_directories(${FFMPEG_CORE_NAME} INTERFACE "${CMAKE_CURRENT_SOURCE
# Detect OS
if (WIN32 AND NOT MINGW)
set(FFMPEG_PREBUILTS_NAME "ffmpeg-windows")
elseif (IOS AND (ARCHITECTURE STREQUAL "arm64") AND (CMAKE_OSX_SYSROOT STREQUAL "iphonesimulator"))
set(FFMPEG_PREBUILTS_NAME "ffmpeg-ios-simulator")
elseif (IOS)
set(FFMPEG_PREBUILTS_NAME "ffmpeg-ios")
elseif (APPLE)
set(FFMPEG_PREBUILTS_NAME "ffmpeg-macos")
elseif (ANDROID)
Expand Down
Loading