Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
c7f2b4cf
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
c7f2b4cf
编写于
2月 06, 2020
作者:
J
Joao Moreno
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test codesign hardened
上级
8c210883
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
174 addition
and
119 deletion
+174
-119
build/azure-pipelines/darwin/codesign-darwin.yml
build/azure-pipelines/darwin/codesign-darwin.yml
+23
-0
build/azure-pipelines/darwin/entitlements.plist
build/azure-pipelines/darwin/entitlements.plist
+22
-0
build/azure-pipelines/product-build.yml
build/azure-pipelines/product-build.yml
+128
-118
build/gulpfile.hygiene.js
build/gulpfile.hygiene.js
+1
-1
未找到文件。
build/azure-pipelines/darwin/codesign-darwin.yml
0 → 100644
浏览文件 @
c7f2b4cf
steps
:
-
task
:
AzureKeyVault@1
displayName
:
'
Azure
Key
Vault:
Get
Secrets'
inputs
:
azureSubscription
:
'
vscode-builds-subscription'
KeyVaultName
:
vscode
-
script
:
|
cat << EOF > $(agent.tempdirectory)/cert.p12
$(macos-developer-certificate)
EOF
security import $(agent.tempdirectory)/cert.p12 -P "$(macos-developer-certificate-key)"
curl -o $(agent.tempdirectory)/VSCode-darwin.zip https://vscode.blob.core.windows.net/public/VSCode-darwin.zip
unzip $(agent.tempdirectory)/VSCode-darwin.zip -d $(agent.tempdirectory)
codesign -s 99FM488X57 --deep --force --options runtime --entitlements build/azure-pipelines/darwin/entitlements.plist $(agent.tempdirectory)/Visual\ Studio\ Code\ -\ Insiders.app
zip -r -X -y $(agent.stagingdirectory)/VSCode-darwin.zip $(agent.tempdirectory)/Visual\ Studio\ Code\ -\ Insiders.app
-
task
:
PublishPipelineArtifact@0
displayName
:
'
Publish
Pipeline
Artifact'
inputs
:
artifactName
:
darwin-hardened
targetPath
:
$(agent.stagingdirectory)/VSCode-darwin.zip
build/azure-pipelines/darwin/entitlements.plist
0 → 100644
浏览文件 @
c7f2b4cf
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
com.apple.security.device.camera
</key>
<true/>
<key>
com.apple.security.device.audio-input
</key>
<true/>
<key>
com.apple.security.personal-information.location
</key>
<true/>
<key>
com.apple.security.automation.apple-events
</key>
<true/>
<key>
com.apple.security.cs.allow-jit
</key>
<true/>
<key>
com.apple.security.cs.allow-unsigned-executable-memory
</key>
<true/>
<key>
com.apple.security.cs.disable-library-validation
</key>
<true/>
<key>
com.apple.security.cs.disable-executable-page-protection
</key>
<true/>
</dict>
</plist>
build/azure-pipelines/product-build.yml
浏览文件 @
c7f2b4cf
...
...
@@ -7,140 +7,150 @@ resources:
image
:
snapcore/snapcraft:stable
jobs
:
-
job
:
Compile
pool
:
vmImage
:
'
Ubuntu-16.04'
container
:
vscode-x64
steps
:
-
template
:
product-compile.yml
#
- job: Compile
#
pool:
#
vmImage: 'Ubuntu-16.04'
#
container: vscode-x64
#
steps:
#
- template: product-compile.yml
-
job
:
Windows
condition
:
and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_WIN32'], 'true'))
pool
:
vmImage
:
VS2017-Win2016
variables
:
VSCODE_ARCH
:
x64
dependsOn
:
-
Compile
steps
:
-
template
:
win32/product-build-win32.yml
#
- job: Windows
#
condition: and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_WIN32'], 'true'))
#
pool:
#
vmImage: VS2017-Win2016
#
variables:
#
VSCODE_ARCH: x64
#
dependsOn:
#
- Compile
#
steps:
#
- template: win32/product-build-win32.yml
-
job
:
Windows32
condition
:
and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_WIN32_32BIT'], 'true'))
pool
:
vmImage
:
VS2017-Win2016
variables
:
VSCODE_ARCH
:
ia32
dependsOn
:
-
Compile
steps
:
-
template
:
win32/product-build-win32.yml
#
- job: Windows32
#
condition: and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_WIN32_32BIT'], 'true'))
#
pool:
#
vmImage: VS2017-Win2016
#
variables:
#
VSCODE_ARCH: ia32
#
dependsOn:
#
- Compile
#
steps:
#
- template: win32/product-build-win32.yml
-
job
:
Linux
condition
:
and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_LINUX'], 'true'))
pool
:
vmImage
:
'
Ubuntu-16.04'
container
:
vscode-x64
dependsOn
:
-
Compile
steps
:
-
template
:
linux/product-build-linux.yml
#
- job: Linux
#
condition: and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_LINUX'], 'true'))
#
pool:
#
vmImage: 'Ubuntu-16.04'
#
container: vscode-x64
#
dependsOn:
#
- Compile
#
steps:
#
- template: linux/product-build-linux.yml
-
job
:
LinuxSnap
condition
:
and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_LINUX'], 'true'))
pool
:
vmImage
:
'
Ubuntu-16.04'
container
:
snapcraft
dependsOn
:
Linux
steps
:
-
template
:
linux/snap-build-linux.yml
#
- job: LinuxSnap
#
condition: and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_LINUX'], 'true'))
#
pool:
#
vmImage: 'Ubuntu-16.04'
#
container: snapcraft
#
dependsOn: Linux
#
steps:
#
- template: linux/snap-build-linux.yml
-
job
:
LinuxArmhf
condition
:
and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_LINUX_ARMHF'], 'true'))
pool
:
vmImage
:
'
Ubuntu-16.04'
variables
:
VSCODE_ARCH
:
armhf
dependsOn
:
-
Compile
steps
:
-
template
:
linux/product-build-linux-multiarch.yml
#
- job: LinuxArmhf
#
condition: and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_LINUX_ARMHF'], 'true'))
#
pool:
#
vmImage: 'Ubuntu-16.04'
#
variables:
#
VSCODE_ARCH: armhf
#
dependsOn:
#
- Compile
#
steps:
#
- template: linux/product-build-linux-multiarch.yml
-
job
:
LinuxArm64
condition
:
and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_LINUX_ARM64'], 'true'))
pool
:
vmImage
:
'
Ubuntu-16.04'
variables
:
VSCODE_ARCH
:
arm64
dependsOn
:
-
Compile
steps
:
-
template
:
linux/product-build-linux-multiarch.yml
#
- job: LinuxArm64
#
condition: and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_LINUX_ARM64'], 'true'))
#
pool:
#
vmImage: 'Ubuntu-16.04'
#
variables:
#
VSCODE_ARCH: arm64
#
dependsOn:
#
- Compile
#
steps:
#
- template: linux/product-build-linux-multiarch.yml
-
job
:
LinuxAlpine
condition
:
and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_LINUX_ALPINE'], 'true'))
pool
:
vmImage
:
'
Ubuntu-16.04'
variables
:
VSCODE_ARCH
:
alpine
dependsOn
:
-
Compile
steps
:
-
template
:
linux/product-build-linux-multiarch.yml
#
- job: LinuxAlpine
#
condition: and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_LINUX_ALPINE'], 'true'))
#
pool:
#
vmImage: 'Ubuntu-16.04'
#
variables:
#
VSCODE_ARCH: alpine
#
dependsOn:
#
- Compile
#
steps:
#
- template: linux/product-build-linux-multiarch.yml
-
job
:
LinuxWeb
condition
:
and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_WEB'], 'true'))
pool
:
vmImage
:
'
Ubuntu-16.04'
variables
:
VSCODE_ARCH
:
x64
dependsOn
:
-
Compile
steps
:
-
template
:
web/product-build-web.yml
# - job: LinuxWeb
# condition: and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_WEB'], 'true'))
# pool:
# vmImage: 'Ubuntu-16.04'
# variables:
# VSCODE_ARCH: x64
# dependsOn:
# - Compile
# steps:
# - template: web/product-build-web.yml
# - job: macOS
# condition: and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_MACOS'], 'true'))
# timeoutInMinutes: 180
# pool:
# vmImage: macOS-latest
# dependsOn:
# - Compile
# steps:
# - template: darwin/product-build-darwin.yml
# - job: Release
# condition: and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), or(eq(variables['VSCODE_RELEASE'], 'true'), and(or(eq(variables['VSCODE_QUALITY'], 'insider'), eq(variables['VSCODE_QUALITY'], 'exploration')), eq(variables['Build.Reason'], 'Schedule'))))
# pool:
# vmImage: 'Ubuntu-16.04'
# dependsOn:
# - Windows
# - Windows32
# - Linux
# - LinuxSnap
# - LinuxArmhf
# - LinuxArm64
# - LinuxAlpine
# - macOS
# steps:
# - template: release.yml
# - job: Mooncake
# pool:
# vmImage: 'Ubuntu-16.04'
# condition: and(succeededOrFailed(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'))
# dependsOn:
# - Windows
# - Windows32
# - Linux
# - LinuxSnap
# - LinuxArmhf
# - LinuxArm64
# - LinuxAlpine
# - LinuxWeb
# - macOS
# steps:
# - template: sync-mooncake.yml
-
job
:
macOS
condition
:
and(succeeded()
, eq(variables['VSCODE_COMPILE_ONLY'], 'false'), eq(variables['VSCODE_BUILD_MACOS'], 'true')
)
condition
:
and(succeeded())
timeoutInMinutes
:
180
pool
:
vmImage
:
macOS-latest
dependsOn
:
-
Compile
steps
:
-
template
:
darwin/product-build-darwin.yml
-
job
:
Release
condition
:
and(succeeded(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'), or(eq(variables['VSCODE_RELEASE'], 'true'), and(or(eq(variables['VSCODE_QUALITY'], 'insider'), eq(variables['VSCODE_QUALITY'], 'exploration')), eq(variables['Build.Reason'], 'Schedule'))))
pool
:
vmImage
:
'
Ubuntu-16.04'
dependsOn
:
-
Windows
-
Windows32
-
Linux
-
LinuxSnap
-
LinuxArmhf
-
LinuxArm64
-
LinuxAlpine
-
macOS
steps
:
-
template
:
release.yml
-
job
:
Mooncake
pool
:
vmImage
:
'
Ubuntu-16.04'
condition
:
and(succeededOrFailed(), eq(variables['VSCODE_COMPILE_ONLY'], 'false'))
dependsOn
:
-
Windows
-
Windows32
-
Linux
-
LinuxSnap
-
LinuxArmhf
-
LinuxArm64
-
LinuxAlpine
-
LinuxWeb
-
macOS
steps
:
-
template
:
sync-mooncake.yml
-
template
:
darwin/codesign-darwin.yml
trigger
:
none
pr
:
none
...
...
build/gulpfile.hygiene.js
浏览文件 @
c7f2b4cf
...
...
@@ -82,7 +82,7 @@ const indentationFilter = [
'
!src/vs/*/**/*.d.ts
'
,
'
!src/typings/**/*.d.ts
'
,
'
!extensions/**/*.d.ts
'
,
'
!**/*.{svg,exe,png,bmp,scpt,bat,cmd,cur,ttf,woff,eot,md,ps1,template,yaml,yml,d.ts.recipe,ico,icns}
'
,
'
!**/*.{svg,exe,png,bmp,scpt,bat,cmd,cur,ttf,woff,eot,md,ps1,template,yaml,yml,d.ts.recipe,ico,icns
,plist
}
'
,
'
!build/{lib,download}/**/*.js
'
,
'
!build/**/*.sh
'
,
'
!build/azure-pipelines/**/*.js
'
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录