From aa13de86ccf4ef94532c3a5be06997a8acfc40fe Mon Sep 17 00:00:00 2001 From: Rosalie Wagner Date: Wed, 26 Jan 2022 10:17:56 +0100 Subject: [PATCH 01/12] Create build.yml --- .github/workflows/build.yml | 46 +++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..3851b8b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,46 @@ +name: Build Fonts + +on: + push: + branches: + - master + paths: + - sources/** + pull_request: + branches: + - master + paths: + - sources/** + +jobs: + static-font-ci-job: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.8] + name: Build Lexend VF + steps: + - name: Check out Lexend sources repository + uses: actions/checkout@v2 + - name: Set up Python v${{ matrix.python-version }} environment + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + - name: Python build dependency cache lookup + uses: actions/cache@v1 + with: + path: ~/.cache/pip + # Check for requirements file cache hit + key: ${{ runner.os }}-pip-${{ hashFiles('${{ steps.config.outputs.dependpath }}') }} + - name: Install Python build dependencies + uses: py-actions/py-dependency-install@v2 + with: + update-wheel: "true" + update-setuptools: "true" + - name: Build fonts + run: sh sources/build.sh + - name: Upload Fonts + uses: actions/upload-artifact@v2 + with: + name: Fonts + path: fonts/lexend/ From 7363bad85a9927d48c405cc250f78bc0d975e4f6 Mon Sep 17 00:00:00 2001 From: Rosalie Wagner Date: Wed, 26 Jan 2022 10:29:26 +0100 Subject: [PATCH 02/12] Create fontbakery.yml --- .github/workflows/fontbakery.yml | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/fontbakery.yml diff --git a/.github/workflows/fontbakery.yml b/.github/workflows/fontbakery.yml new file mode 100644 index 0000000..aa39c1a --- /dev/null +++ b/.github/workflows/fontbakery.yml @@ -0,0 +1,38 @@ +name: Fontbakery CI + +on: [push, pull_request] + +jobs: + static-font-ci-job: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.8] + name: Checks fonts + steps: + - name: Check out Lexend sources repository + uses: actions/checkout@v2 + - name: Set up Python v${{ matrix.python-version }} environment + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + - name: Python build dependency cache lookup + uses: actions/cache@v1 + with: + path: ~/.cache/pip + # Check for requirements file cache hit + key: ${{ runner.os }}-pip-${{ hashFiles('${{ steps.config.outputs.dependpath }}') }} + - name: Install Python build dependencies + uses: py-actions/py-dependency-install@v2 + with: + update-wheel: "true" + update-setuptools: "true" + - name: Build fonts + run: sh sources/build.sh + - name: Make Fontbakery Report + uses: f-actions/font-bakery@v1 + with: + version: "latest" + subcmd: "check-googlefonts" + args: "-C --succinct --loglevel WARN --ghmarkdown report.md" + path: "fonts/variable/*.ttf" From 52bb2a6cb7d5737413b448b54aca7589db0e0c14 Mon Sep 17 00:00:00 2001 From: Rosalie Wagner Date: Wed, 26 Jan 2022 10:29:57 +0100 Subject: [PATCH 03/12] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b6393da..d025223 100644 --- a/README.md +++ b/README.md @@ -65,10 +65,10 @@ W: D: Designer of Readex Pro (Arabic of Readex PRo, derived from Lexend Latin) N: Font Bureau -E: David Berlow -E: Santiago Orozco -E: Héctor Gómez -W: +E: David Berlow
+E: Santiago Orozco
+E: Héctor Gómez
+W:
D: Designer of weight axis For more information about this font please visit [www.lexend.com](http://www.lexend.com) From c374e6cff96f2b99edb277b9992f5ceffb2d0170 Mon Sep 17 00:00:00 2001 From: Rosalie Wagner Date: Wed, 26 Jan 2022 10:32:23 +0100 Subject: [PATCH 04/12] Update fontbakery.yml --- .github/workflows/fontbakery.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fontbakery.yml b/.github/workflows/fontbakery.yml index aa39c1a..1534ed9 100644 --- a/.github/workflows/fontbakery.yml +++ b/.github/workflows/fontbakery.yml @@ -28,11 +28,11 @@ jobs: update-wheel: "true" update-setuptools: "true" - name: Build fonts - run: sh sources/build.sh + run: gftools builder sources/config.yaml - name: Make Fontbakery Report uses: f-actions/font-bakery@v1 with: version: "latest" subcmd: "check-googlefonts" args: "-C --succinct --loglevel WARN --ghmarkdown report.md" - path: "fonts/variable/*.ttf" + path: "fonts/lexend/variable*.ttf" From b92c96cdf6af6d688385ffd68b4cf2fd7cd6ccd0 Mon Sep 17 00:00:00 2001 From: Rosalie Wagner Date: Wed, 26 Jan 2022 10:33:39 +0100 Subject: [PATCH 05/12] Update fontbakery.yml --- .github/workflows/fontbakery.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fontbakery.yml b/.github/workflows/fontbakery.yml index 1534ed9..d756610 100644 --- a/.github/workflows/fontbakery.yml +++ b/.github/workflows/fontbakery.yml @@ -28,7 +28,7 @@ jobs: update-wheel: "true" update-setuptools: "true" - name: Build fonts - run: gftools builder sources/config.yaml + run: gftools builder sources/lexend.yaml - name: Make Fontbakery Report uses: f-actions/font-bakery@v1 with: From 0ccad6f6649dd3d6cc57936b2dc0e19f7e3e1b48 Mon Sep 17 00:00:00 2001 From: Rosalie Wagner Date: Wed, 26 Jan 2022 10:43:39 +0100 Subject: [PATCH 06/12] Update fontbakery.yml --- .github/workflows/fontbakery.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fontbakery.yml b/.github/workflows/fontbakery.yml index d756610..6e094e7 100644 --- a/.github/workflows/fontbakery.yml +++ b/.github/workflows/fontbakery.yml @@ -34,5 +34,5 @@ jobs: with: version: "latest" subcmd: "check-googlefonts" - args: "-C --succinct --loglevel WARN --ghmarkdown report.md" + args: "--succinct --loglevel WARN --ghmarkdown report.md" path: "fonts/lexend/variable*.ttf" From 52f713f9bb1cf052081a41d7e998ad3766e8c0eb Mon Sep 17 00:00:00 2001 From: Rosalie Wagner Date: Wed, 26 Jan 2022 10:50:44 +0100 Subject: [PATCH 07/12] Update fontbakery.yml --- .github/workflows/fontbakery.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fontbakery.yml b/.github/workflows/fontbakery.yml index 6e094e7..7a3540f 100644 --- a/.github/workflows/fontbakery.yml +++ b/.github/workflows/fontbakery.yml @@ -35,4 +35,4 @@ jobs: version: "latest" subcmd: "check-googlefonts" args: "--succinct --loglevel WARN --ghmarkdown report.md" - path: "fonts/lexend/variable*.ttf" + path: "fonts/lexend/variable/*.ttf" From 5ee58c58b2c03947ddd7a23d923cf0b92d422e88 Mon Sep 17 00:00:00 2001 From: Rosalie Wagner Date: Wed, 26 Jan 2022 11:20:07 +0100 Subject: [PATCH 08/12] Added config file for CI and updted gh workflows --- .github/workflows/build.yml | 4 +-- .github/workflows/fontbakery.yml | 4 +-- sources/lexend-CI.yaml | 49 ++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 4 deletions(-) create mode 100644 sources/lexend-CI.yaml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3851b8b..0ed3a56 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: strategy: matrix: python-version: [3.8] - name: Build Lexend VF + name: Build VF and statics steps: - name: Check out Lexend sources repository uses: actions/checkout@v2 @@ -38,7 +38,7 @@ jobs: update-wheel: "true" update-setuptools: "true" - name: Build fonts - run: sh sources/build.sh + run: gftools builder sources/lexend.yaml - name: Upload Fonts uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/fontbakery.yml b/.github/workflows/fontbakery.yml index 7a3540f..cc8eaaf 100644 --- a/.github/workflows/fontbakery.yml +++ b/.github/workflows/fontbakery.yml @@ -28,11 +28,11 @@ jobs: update-wheel: "true" update-setuptools: "true" - name: Build fonts - run: gftools builder sources/lexend.yaml + run: gftools builder sources/lexend-CI.yaml - name: Make Fontbakery Report uses: f-actions/font-bakery@v1 with: version: "latest" subcmd: "check-googlefonts" args: "--succinct --loglevel WARN --ghmarkdown report.md" - path: "fonts/lexend/variable/*.ttf" + path: "fonts/CI/*.ttf" diff --git a/sources/lexend-CI.yaml b/sources/lexend-CI.yaml new file mode 100644 index 0000000..f7cba84 --- /dev/null +++ b/sources/lexend-CI.yaml @@ -0,0 +1,49 @@ + sources: + - Lexend.glyphs + familyName: Lexend + outputDir: ../fonts/CI + buildStatic: False + axisOrder: + - HEXP + - wght + stat: + - name: Hyper Expansion + tag: HEXP + values: + - name: Deca + value: 0 + - name: Exa + value: 40 + - name: Giga + value: 56 + - name: Mega + value: 64 + - name: Peta + value: 72 + - name: Tera + value: 80 + - name: Zetta + value: 100 + - name: Weight + tag: wght + values: + - name: Thin + value: 100 + - name: ExtraLight + value: 200 + - name: Light + value: 300 + - name: Regular + value: 400 + linkedValue: 700 + flags: 2 + - name: Medium + value: 500 + - name: SemiBold + value: 600 + - name: Bold + value: 700 + - name: ExtraBold + value: 800 + - name: Black + value: 900 \ No newline at end of file From 9717fd9371ecaf102f79d70c8af5eb1b72a6a54b Mon Sep 17 00:00:00 2001 From: Rosalie Wagner Date: Wed, 26 Jan 2022 11:35:29 +0100 Subject: [PATCH 09/12] Update fontbakery.yml --- .github/workflows/fontbakery.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fontbakery.yml b/.github/workflows/fontbakery.yml index cc8eaaf..cfdc2c9 100644 --- a/.github/workflows/fontbakery.yml +++ b/.github/workflows/fontbakery.yml @@ -35,4 +35,9 @@ jobs: version: "latest" subcmd: "check-googlefonts" args: "--succinct --loglevel WARN --ghmarkdown report.md" - path: "fonts/CI/*.ttf" + path: "fonts/CI/variable/*.ttf" + - name: Upload files + uses: actions/upload-artifact@v2 + with: + name: QA_files + path: fonts/CI/ From 65f7eaa5ae22bf846dc59e6628c7f90c874b991b Mon Sep 17 00:00:00 2001 From: Rosalie Wagner Date: Wed, 26 Jan 2022 11:39:40 +0100 Subject: [PATCH 10/12] MOdifies minor parameter to trigger build CI --- sources/lexend.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/sources/lexend.yaml b/sources/lexend.yaml index 9fcc3bf..eeb9f73 100644 --- a/sources/lexend.yaml +++ b/sources/lexend.yaml @@ -3,7 +3,6 @@ familyName: Lexend outputDir: ../fonts/lexend buildOTF: False - buildWebfont: False axisOrder: # - HEXP - wght From 749551b434a933e6e765c7521bfb950af46eb678 Mon Sep 17 00:00:00 2001 From: Rosalie Wagner Date: Thu, 27 Jan 2022 13:20:12 +0100 Subject: [PATCH 11/12] Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ed3a56..76845cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,12 +3,12 @@ name: Build Fonts on: push: branches: - - master + - main paths: - sources/** pull_request: branches: - - master + - main paths: - sources/** From bfe537471c187c5acf52446fa2c4179bb1c4112a Mon Sep 17 00:00:00 2001 From: Rosalie Wagner Date: Thu, 27 Jan 2022 13:26:03 +0100 Subject: [PATCH 12/12] Modified minimal parameter to trigger build CI --- sources/lexend.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/lexend.yaml b/sources/lexend.yaml index eeb9f73..9fcc3bf 100644 --- a/sources/lexend.yaml +++ b/sources/lexend.yaml @@ -3,6 +3,7 @@ familyName: Lexend outputDir: ../fonts/lexend buildOTF: False + buildWebfont: False axisOrder: # - HEXP - wght