代码拉取完成,页面将自动刷新
# https://aka.ms/yaml
# vm images: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops
schedules: # https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops&tabs=yaml#scheduled-triggers
- cron: "0 12 * * 0"
displayName: Weekly Sunday build
branches:
include:
- master
always: true
jobs:
- job: 'Windows_clang'
pool:
vmImage: 'ubuntu-18.04'
variables:
TARGET_OS: windows-desktop
VCDIR: '/tmp/msvcrt-dev'
WINDOWSSDKDIR: '/tmp/winsdk'
PKG_CONFIG_PATH_MFX: '/tmp/ClangCL/lib/pkgconfig'
COMPILER: 'clang'
steps:
- script: ./tools/ci-before-build.sh
displayName: 'Install Dev Tools and Dependencies'
- bash: |
export FFSRC=$PWD/ffmpeg-${FF_VERSION}
export WindowsSdkDir=${WINDOWSSDKDIR}
export WindowsSDKVersion=$(cat ${WINDOWSSDKDIR}/.version)
USE_TOOLCHAIN=clang-${LLVM_VER:-14} ./avbuild.sh $TARGET_OS "arm64-clang-cl-${LLVM_VER:-14} x86 x64"
displayName: 'Build'
- bash: ./tools/ci-after-build.sh
env:
SF_USER_MAPPED: $(SF_USER)
SF_PW_MAPPED: $(SF_PW)
displayName: 'Make SDK'
- job: 'UWP_clang'
pool:
vmImage: 'ubuntu-18.04'
variables:
TARGET_OS: uwp
VCDIR: '/tmp/msvcrt-dev'
WINDOWSSDKDIR: '/tmp/winsdk' # always convet to upper case
COMPILER: 'clang'
steps:
- bash: |
./tools/ci-before-build.sh
displayName: 'Install Dev Tools and Dependencies'
- bash: |
export FFSRC=$PWD/ffmpeg-${FF_VERSION}
export WindowsSdkDir=${WINDOWSSDKDIR}
export WindowsSDKVersion=$(cat ${WINDOWSSDKDIR}/.version)
USE_TOOLCHAIN=clang-${LLVM_VER:-14} ./avbuild.sh ${TARGET_OS} "arm64-clang-cl-${LLVM_VER:-14} arm x86 x64"
displayName: 'Build'
- bash: ./tools/ci-after-build.sh
env:
SF_USER_MAPPED: $(SF_USER)
SF_PW_MAPPED: $(SF_PW)
displayName: 'Make SDK'
- job: 'VCRT120_clang'
pool:
vmImage: 'ubuntu-18.04'
variables:
TARGET_OS: windows-desktop
VCDIR: '/tmp/msvcrt-dev/120'
WINDOWSSDKDIR: '/tmp/winsdk'
COMPILER: 'clang-vcrt120'
steps:
- script: ./tools/ci-before-build.sh
displayName: 'Install Dev Tools and Dependencies'
- bash: |
export FFSRC=$PWD/ffmpeg-${FF_VERSION}
export WindowsSdkDir=${WINDOWSSDKDIR}
export WindowsSDKVersion=$(cat ${WINDOWSSDKDIR}/.version)
USE_TOOLCHAIN=clang-${LLVM_VER:-14} ./avbuild.sh $TARGET_OS "x86 x64"
displayName: 'Build'
- bash: ./tools/ci-after-build.sh
env:
SF_USER_MAPPED: $(SF_USER)
SF_PW_MAPPED: $(SF_PW)
displayName: 'Make SDK'
- job: 'Linux_GCC'
pool:
vmImage: 'ubuntu-18.04' # ubuntu-latest is 16.04
variables:
TARGET_OS: linux
COMPILER: 'gcc'
PKG_CONFIG_PATH_MFX: "/tmp/linux64-gcc/lib/pkgconfig"
steps:
- script: ./tools/ci-before-build.sh
displayName: 'Install Dev Tools and Dependencies'
- bash: |
export FFSRC=$PWD/ffmpeg-${FF_VERSION}
./avbuild.sh
displayName: 'Build'
- bash: ./tools/ci-after-build.sh
env:
SF_USER_MAPPED: $(SF_USER)
SF_PW_MAPPED: $(SF_PW)
displayName: 'Make SDK'
- job: 'Linux_Clang'
pool:
vmImage: 'ubuntu-18.04' # ubuntu-latest is 16.04
variables:
TARGET_OS: linux
COMPILER: 'clang'
PKG_CONFIG_PATH_MFX: "/tmp/linux64-gcc/lib/pkgconfig"
steps:
- script: ./tools/ci-before-build.sh
displayName: 'Install Dev Tools and Dependencies'
- bash: |
export FFSRC=$PWD/ffmpeg-${FF_VERSION}
export SYSROOT=/tmp/sysroot
USE_TOOLCHAIN=clang-${LLVM_VER:-14} ./avbuild.sh linux "amd64 arm64 armhf"
displayName: 'Build'
- bash: ./tools/ci-after-build.sh
env:
SF_USER_MAPPED: $(SF_USER)
SF_PW_MAPPED: $(SF_PW)
displayName: 'Make SDK'
- job: 'RaspberryPi'
pool:
vmImage: 'ubuntu-18.04'
variables:
TARGET_OS: raspberry-pi
COMPILER: 'clang'
LLVM_VER: 8
steps:
- script: ./tools/ci-before-build.sh
displayName: 'Install Dev Tools and Dependencies'
- bash: |
export FFSRC=$PWD/ffmpeg-${FF_VERSION}
export SYSROOT=/tmp/sysroot
USE_TOOLCHAIN=clang-${LLVM_VER:-14} ./avbuild.sh ${TARGET_OS}
displayName: 'Build'
- bash: ./tools/ci-after-build.sh
env:
SF_USER_MAPPED: $(SF_USER)
SF_PW_MAPPED: $(SF_PW)
displayName: 'Make SDK'
- job: 'SUNXI'
pool:
vmImage: 'ubuntu-18.04'
variables:
TARGET_OS: sunxi
COMPILER: 'clang'
steps:
- script: ./tools/ci-before-build.sh
displayName: 'Install Dev Tools and Dependencies'
- bash: |
export FFSRC=$PWD/ffmpeg-${FF_VERSION}
export SYSROOT=/tmp/sysroot
USE_TOOLCHAIN=clang-${LLVM_VER:-14} ./avbuild.sh ${TARGET_OS}
displayName: 'Build'
- bash: ./tools/ci-after-build.sh
env:
SF_USER_MAPPED: $(SF_USER)
SF_PW_MAPPED: $(SF_PW)
displayName: 'Make SDK'
- job: 'Android'
pool:
vmImage: 'macOS-latest'
variables:
TARGET_OS: android
steps:
- script: ./tools/ci-before-build.sh
displayName: 'Install Dev Tools and Dependencies'
- bash: |
export ANDROID_NDK=$ANDROID_NDK_LATEST_HOME
export FFSRC=$PWD/ffmpeg-${FF_VERSION}
./avbuild.sh ${TARGET_OS}
displayName: 'Build'
- bash: ./tools/ci-after-build.sh
env:
SF_USER_MAPPED: $(SF_USER)
SF_PW_MAPPED: $(SF_PW)
displayName: 'Make SDK'
- job: 'iOS'
pool:
vmImage: 'macOS-latest'
variables:
TARGET_OS: iOS
steps:
- script: ./tools/ci-before-build.sh
displayName: 'Install Dev Tools and Dependencies'
- bash: |
export FFSRC=$PWD/ffmpeg-${FF_VERSION}
./avbuild.sh ${TARGET_OS}
displayName: 'Build'
- bash: ./tools/ci-after-build.sh
env:
SF_USER_MAPPED: $(SF_USER)
SF_PW_MAPPED: $(SF_PW)
displayName: 'Make SDK'
- job: 'macOS'
pool:
vmImage: 'macOS-latest'
variables:
TARGET_OS: macOS
steps:
- script: ./tools/ci-before-build.sh
displayName: 'Install Dev Tools and Dependencies'
- bash: |
export FFSRC=$PWD/ffmpeg-${FF_VERSION}
./avbuild.sh ${TARGET_OS}
displayName: 'Build'
- bash: ./tools/ci-after-build.sh
env:
SF_USER_MAPPED: $(SF_USER)
SF_PW_MAPPED: $(SF_PW)
displayName: 'Make SDK'
# vs2019 use matrix for both desktop and uwp?
# condition: in(variables['agent.os'], 'Darwin', 'Linux') eq(variables['agent.os'], 'Windows_NT')
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。