Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Obs Studio
提交
a09ad610
O
Obs Studio
项目概览
小白菜888
/
Obs Studio
通知
4
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
Obs Studio
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
a09ad610
编写于
2月 21, 2019
作者:
C
Colin Edwards
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
CI: macOS builds on Azure Pipelines
上级
ef270c8b
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
63 addition
and
16 deletion
+63
-16
CI/before-deploy-osx.sh
CI/before-deploy-osx.sh
+19
-15
CI/install-dependencies-osx.sh
CI/install-dependencies-osx.sh
+3
-1
README.rst
README.rst
+4
-0
azure-pipelines.yml
azure-pipelines.yml
+37
-0
未找到文件。
CI/before-deploy-osx.sh
浏览文件 @
a09ad610
...
@@ -9,7 +9,7 @@ set -e
...
@@ -9,7 +9,7 @@ set -e
# Generate file name variables
# Generate file name variables
export
GIT_HASH
=
$(
git rev-parse
--short
HEAD
)
export
GIT_HASH
=
$(
git rev-parse
--short
HEAD
)
export
FILE_DATE
=
$(
date
+%Y-%m-%d.%H
:%M:
%S
)
export
FILE_DATE
=
$(
date
+%Y-%m-%d.%H
-%M-
%S
)
export
FILENAME
=
$FILE_DATE
-
$GIT_HASH
-
$TRAVIS_BRANCH
-osx
.pkg
export
FILENAME
=
$FILE_DATE
-
$GIT_HASH
-
$TRAVIS_BRANCH
-osx
.pkg
cd
./build
cd
./build
...
@@ -49,20 +49,24 @@ sudo install_name_tool -change \
...
@@ -49,20 +49,24 @@ sudo install_name_tool -change \
hr
"Generating .pkg"
hr
"Generating .pkg"
packagesbuild ../CI/install/osx/CMakeLists.pkgproj
packagesbuild ../CI/install/osx/CMakeLists.pkgproj
# Signing stuff
if
[
-v
"
$TRAVIS
"
]
;
then
hr
"Decrypting Cert"
# Signing stuff
openssl aes-256-cbc
-K
$encrypted_dd3c7f5e9db9_key
-iv
$encrypted_dd3c7f5e9db9_iv
-in
../CI/osxcert/Certificates.p12.enc
-out
Certificates.p12
-d
hr
"Decrypting Cert"
hr
"Creating Keychain"
openssl aes-256-cbc
-K
$encrypted_dd3c7f5e9db9_key
-iv
$encrypted_dd3c7f5e9db9_iv
-in
../CI/osxcert/Certificates.p12.enc
-out
Certificates.p12
-d
security create-keychain
-p
mysecretpassword build.keychain
hr
"Creating Keychain"
security default-keychain
-s
build.keychain
security create-keychain
-p
mysecretpassword build.keychain
security unlock-keychain
-p
mysecretpassword build.keychain
security default-keychain
-s
build.keychain
security set-keychain-settings
-t
3600
-u
build.keychain
security unlock-keychain
-p
mysecretpassword build.keychain
hr
"Importing certs into keychain"
security set-keychain-settings
-t
3600
-u
build.keychain
security import ./Certificates.p12
-k
build.keychain
-T
/usr/bin/productsign
-P
""
hr
"Importing certs into keychain"
# macOS 10.12+
security import ./Certificates.p12
-k
build.keychain
-T
/usr/bin/productsign
-P
""
security set-key-partition-list
-S
apple-tool:,apple:
-s
-k
mysecretpassword build.keychain
# macOS 10.12+
hr
"Signing Package"
security set-key-partition-list
-S
apple-tool:,apple:
-s
-k
mysecretpassword build.keychain
productsign
--sign
2MMRE5MTB8 ./OBS.pkg ./
$FILENAME
hr
"Signing Package"
productsign
--sign
2MMRE5MTB8 ./OBS.pkg ./
$FILENAME
else
cp
./OBS.pkg ./
$FILENAME
fi
# Move to the folder that travis uses to upload artifacts from
# Move to the folder that travis uses to upload artifacts from
hr
"Moving package to nightly folder for distribution"
hr
"Moving package to nightly folder for distribution"
...
...
CI/install-dependencies-osx.sh
浏览文件 @
a09ad610
...
@@ -10,7 +10,9 @@ set -e
...
@@ -10,7 +10,9 @@ set -e
# Echo all commands before executing
# Echo all commands before executing
set
-v
set
-v
git fetch
--unshallow
if
[
-v
"
$TRAVIS
"
]
;
then
git fetch
--unshallow
fi
# Leave obs-studio folder
# Leave obs-studio folder
cd
../
cd
../
...
...
README.rst
浏览文件 @
a09ad610
...
@@ -9,6 +9,10 @@ OBS Studio <https://obsproject.com>
...
@@ -9,6 +9,10 @@ OBS Studio <https://obsproject.com>
:alt: OBS Studio Build Status - AppVeyor CI
:alt: OBS Studio Build Status - AppVeyor CI
:target: https://ci.appveyor.com/project/jp9000/obs-studio/branch/master
:target: https://ci.appveyor.com/project/jp9000/obs-studio/branch/master
.. image:: https://dev.azure.com/obsjim/obsjim/_apis/build/status/obsproject.obs-studio?branchName=master
:alt: OBS Studio Build Status - Azure Pipelines
:target: https://dev.azure.com/obsjim/obsjim/_build/latest?definitionId=1&branchName=master
.. image:: https://discordapp.com/api/guilds/348973006581923840/widget.png?style=shield
.. image:: https://discordapp.com/api/guilds/348973006581923840/widget.png?style=shield
:alt: OBS Studio Discord Server
:alt: OBS Studio Discord Server
:target: https://obsproject.com/discord
:target: https://obsproject.com/discord
...
...
azure-pipelines.yml
0 → 100644
浏览文件 @
a09ad610
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
pool
:
vmImage
:
'
macOS-10.13'
variables
:
CMAKE_PREFIX_PATH
:
/usr/local/opt/qt5/lib/cmake
CEF_BUILD_VERSION
:
3.3282.1726.gc8368c8
steps
:
-
script
:
git submodule update --init --recursive
displayName
:
'
Checkout
Submodules'
-
script
:
./CI/install-dependencies-osx.sh
displayName
:
'
Install
Dependencies'
-
script
:
./CI/before-script-osx.sh
displayName
:
'
Cmake'
-
bash
:
|
cd ./build
make -j4
cd -
displayName
:
'
Build'
-
script
:
./CI/before-deploy-osx.sh
condition
:
ne(variables['Build.Reason'], 'PullRequest')
displayName
:
'
Before
Deploy'
-
task
:
PublishBuildArtifacts@1
condition
:
ne(variables['Build.Reason'], 'PullRequest')
inputs
:
pathtoPublish
:
'
./nightly'
artifactName
:
build
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录