Skip to content

Commit fd5acad

Browse files
committed
Try CI in a Docker container tonsky/firacode:latest
1 parent 6bf3854 commit fd5acad

File tree

3 files changed

+6
-14
lines changed

3 files changed

+6
-14
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
name: Build Fira Code
2-
31
on: [push]
4-
52
jobs:
63
build:
74
runs-on: ubuntu-latest
8-
name: Build
5+
container: tonsky/firacode:latest
96
steps:
107
- uses: actions/checkout@v2
11-
- run: echo "FIRA_CODE_VERSION=$(python3 ./script/version.py)" >> $GITHUB_ENV
12-
- run: ./script/bootstrap_linux.sh
8+
- run: echo ${GITHUB_REF#refs/heads/}
9+
- run: echo "version=$(git rev-parse --short $GITHUB_SHA)" >> $GITHUB_ENV
1310
- run: ./script/build.sh
1411
- uses: actions/upload-artifact@v2
1512
with:
16-
name: Fira_Code_v${{ env.FIRA_CODE_VERSION }}
13+
name: Fira_Code_${{ env.version }}
1714
path: distr

Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@ FROM python:3
22

33
WORKDIR /opt
44

5-
RUN pip install -U Pillow==5.4.1 idna==2.8 requests==2.21.0 urllib3==1.24.1
6-
RUN pip install pycairo
7-
RUN pip install git+https://github.com/googlefonts/gftools
8-
RUN pip install fontmake
5+
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
96
RUN apt-get update && \
107
apt-get install -y ttfautohint && \
118
apt-get install -y woff2 && \
12-
apt-get install -y sfnt2woff-zopfli
13-
RUN pip install fontbakery
9+
apt-get install -y sfnt2woff-zopfli

FiraCode.glyphs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131396,7 +131396,6 @@ instanceInterpolations = {
131396131396
name = Regular;
131397131397
},
131398131398
{
131399-
exports = 0;
131400131399
customParameters = (
131401131400
{
131402131401
name = weightClass;

0 commit comments

Comments
 (0)