1 Star 0 Fork 0

findroot/avbuild

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
azure-pipelines.yml 6.21 KB
一键复制 编辑 原始数据 按行查看 历史
LucasWang 提交于 2022-04-03 14:33 . ci: use llvm 14
# 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')
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/findroot/avbuild.git
git@gitee.com:findroot/avbuild.git
findroot
avbuild
avbuild
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385