Try CI in a Docker container tonsky/firacode:latest

pull/1310/head
Nikita Prokopov 2021-08-09 02:52:33 +02:00
rodzic 6bf3854628
commit fd5acad4fc
3 zmienionych plików z 6 dodań i 14 usunięć

Wyświetl plik

@ -1,17 +1,14 @@
name: Build Fira Code
on: [push]
jobs:
build:
runs-on: ubuntu-latest
name: Build
container: tonsky/firacode:latest
steps:
- uses: actions/checkout@v2
- run: echo "FIRA_CODE_VERSION=$(python3 ./script/version.py)" >> $GITHUB_ENV
- run: ./script/bootstrap_linux.sh
- 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_v${{ env.FIRA_CODE_VERSION }}
name: Fira_Code_${{ env.version }}
path: distr

Wyświetl plik

@ -2,12 +2,8 @@ FROM python:3
WORKDIR /opt
RUN pip install -U Pillow==5.4.1 idna==2.8 requests==2.21.0 urllib3==1.24.1
RUN pip install pycairo
RUN pip install git+https://github.com/googlefonts/gftools
RUN pip install fontmake
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 apt-get update && \
apt-get install -y ttfautohint && \
apt-get install -y woff2 && \
apt-get install -y sfnt2woff-zopfli
RUN pip install fontbakery

Wyświetl plik

@ -131396,7 +131396,6 @@ instanceInterpolations = {
name = Regular;
},
{
exports = 0;
customParameters = (
{
name = weightClass;