kopia lustrzana https://github.com/tonsky/FiraCode
rodzic
bc480fd77d
commit
50b93dc15c
|
@ -1,11 +1,8 @@
|
||||||
name: Build Fira Code
|
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Build
|
container: tonsky/firacode:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the latest commit
|
- name: Checkout the latest commit
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -17,4 +14,11 @@ jobs:
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Fira_Code
|
name: Fira_Code
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- run: echo ${GITHUB_REF#refs/heads/}
|
||||||
|
- run: echo "version=$(git rev-parse --short $GITHUB_SHA)" >> $GITHUB_ENV
|
||||||
|
- run: ./script/build.sh
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: Fira_Code_${{ env.version }}
|
||||||
path: distr
|
path: distr
|
|
@ -2,12 +2,8 @@ FROM python:3
|
||||||
|
|
||||||
WORKDIR /opt
|
WORKDIR /opt
|
||||||
|
|
||||||
RUN pip install -U Pillow==5.4.1 idna==2.8 requests==2.21.0 urllib3==1.24.1
|
RUN pip install --upgrade Pillow==5.4.1 idna==2.8 requests==2.21.0 urllib3==1.24.1 pycairo==1.20.1 gftools==0.7.4 fontmake==2.4.0 fontbakery==0.8.0
|
||||||
RUN pip install pycairo
|
|
||||||
RUN pip install git+https://github.com/googlefonts/gftools
|
|
||||||
RUN pip install fontmake
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y ttfautohint && \
|
apt-get install -y ttfautohint && \
|
||||||
apt-get install -y woff2 && \
|
apt-get install -y woff2 && \
|
||||||
apt-get install -y sfnt2woff-zopfli
|
apt-get install -y sfnt2woff-zopfli
|
||||||
RUN pip install fontbakery
|
|
|
@ -130099,7 +130099,6 @@ instanceInterpolations = {
|
||||||
name = Regular;
|
name = Regular;
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
exports = 0;
|
|
||||||
customParameters = (
|
customParameters = (
|
||||||
{
|
{
|
||||||
name = weightClass;
|
name = weightClass;
|
||||||
|
|
Ładowanie…
Reference in New Issue