1 Star 0 Fork 0

heng/cascadia-code

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.azure-pipelines.yml 1.26 KB
一键复制 编辑 原始数据 按行查看 历史
Dustin Howett 提交于 2021-02-08 17:31 . ci: force python 3.8
trigger: none
pr:
branches:
include:
- main
parameters:
- name: static
displayName: Generate Static Fonts
type: boolean
default: true
variables:
- name: runCodesignValidationInjectionBG
value: false
jobs:
- job: build
displayName: Build Font
pool:
vmImage: macOS-latest
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.8'
inputs:
versionSpec: '3.8'
- bash: |
brew install ttfautohint
pip install -r requirements.txt ufolint
displayName: 'Install build dependencies'
- bash: |
ufolint sources/*.ufo
displayName: 'Lint sources'
- ${{ if eq(parameters.static, true) }}:
- bash: |
python ./build.py -S -W
displayName: 'Build variable + static fonts'
- ${{ if eq(parameters.static, false) }}:
- bash: |
python ./build.py -W
displayName: 'Build variable fonts only'
- bash: |
mkdir -p out
cd build
zip -r ../out/CascadiaCode.zip ttf otf woff2
displayName: 'Archive all fonts'
- task: PublishPipelineArtifact@1
displayName: 'Publish archive'
inputs:
targetPath: out
artifact: 'archive'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gouheng/cascadia-code.git
[email protected]:gouheng/cascadia-code.git
gouheng
cascadia-code
cascadia-code
arabic_fix

搜索帮助