Skip to content

Commit b08e806

Browse files
committed
Merge branch 'nightly' into dev
2 parents 007bbf2 + 4c56025 commit b08e806

1,644 files changed

Lines changed: 142987 additions & 140905 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
branches:
88
- main
99
- dev
10-
- nightly
1110
tags:
1211
- '*'
1312

@@ -32,10 +31,10 @@ jobs:
3231
sudo apt-get update
3332
sudo apt-get install ttfautohint libcairo2-dev python3-cairo-dev pkg-config python3-dev
3433
sudo snap install yq
35-
- uses: actions/cache@v4
34+
- uses: actions/cache@v5
3635
with:
3736
path: ./venv/
38-
key: ${{ runner.os }}-venv-${{ hashFiles('**/requirements*.txt') }}
37+
key: ${{ runner.os }}-venv${{ steps.python.outputs.python-version }}-${{ hashFiles('**/requirements*.txt') }}
3938
restore-keys: |
4039
${{ runner.os }}-venv-
4140
- name: Set artifact name
@@ -68,7 +67,7 @@ jobs:
6867
with:
6968
path: ./out
7069
- name: Archive artifacts
71-
uses: actions/upload-artifact@v4
70+
uses: actions/upload-artifact@v6
7271
with:
7372
name: ${{ env.ARTIFACT_NAME }}
7473
path: |

Makefile

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ help:
99
@echo "###"
1010
@echo
1111
@echo " make build: Builds the fonts and places them in the fonts/ directory"
12-
@echo " make test: Tests the fonts with fontbakery"
12+
@echo " make test: Tests the fonts with fontspector"
1313
@echo " make proof: Creates HTML proof documents in the proof/ directory"
1414
@echo " make images: Creates PNG specimen images in the documentation/ directory"
1515
@echo
@@ -18,8 +18,6 @@ build: build.stamp
1818

1919
venv: venv/touchfile
2020

21-
venv-test: venv-test/touchfile
22-
2321
customize: venv
2422
. venv/bin/activate; python3 scripts/customize.py
2523

@@ -32,13 +30,9 @@ venv/touchfile: requirements.txt
3230
. venv/bin/activate; pip install -Ur requirements.txt
3331
touch venv/touchfile
3432

35-
venv-test/touchfile: requirements-test.txt
36-
test -d venv-test || python3 -m venv venv-test
37-
. venv-test/bin/activate; pip install -Ur requirements-test.txt
38-
touch venv-test/touchfile
39-
40-
test: venv-test build.stamp
41-
TOCHECK=$$(find fonts/variable -type f 2>/dev/null); if [ -z "$$TOCHECK" ]; then TOCHECK=$$(find fonts/ttf -type f 2>/dev/null); fi ; . venv-test/bin/activate; mkdir -p out/ out/fontbakery; fontbakery check-googlefonts -l WARN --full-lists --succinct --badges out/badges --html out/fontbakery/fontbakery-report.html --ghmarkdown out/fontbakery/fontbakery-report.md $$TOCHECK || echo '::warning file=sources/config.yaml,title=Fontbakery failures::The fontbakery QA check reported errors in your font. Please check the generated report.'
33+
test: build.stamp
34+
which fontspector || (echo "fontspector not found. Please install it with 'cargo install fontspector'." && exit 1)
35+
TOCHECK=$$(find fonts/variable -type f 2>/dev/null); if [ -z "$$TOCHECK" ]; then TOCHECK=$$(find fonts/ttf -type f 2>/dev/null); fi ; mkdir -p out/ out/fontspector; fontspector --profile googlefonts -l warn --full-lists --succinct --html out/fontspector/fontspector-report.html --ghmarkdown out/fontspector/fontspector-report.md --badges out/badges $$TOCHECK || echo '::warning file=sources/config.yaml,title=fontspector failures::The fontspector QA check reported errors in your font. Please check the generated report.'
4236

4337
proof: venv build.stamp
4438
TOCHECK=$$(find fonts/variable -type f 2>/dev/null); if [ -z "$$TOCHECK" ]; then TOCHECK=$$(find fonts/ttf -type f 2>/dev/null); fi ; . venv/bin/activate; mkdir -p out/ out/proof; diffenator2 proof $$TOCHECK -o out/proof
@@ -55,16 +49,12 @@ clean:
5549
update-project-template:
5650
npx update-template https://github.com/googlefonts/googlefonts-project-template/
5751

58-
update: venv venv-test
52+
update: venv
5953
venv/bin/pip install --upgrade pip-tools
6054
# See https://pip-tools.readthedocs.io/en/latest/#a-note-on-resolvers for
6155
# the `--resolver` flag below.
6256
venv/bin/pip-compile --upgrade --verbose --resolver=backtracking requirements.in
6357
venv/bin/pip-sync requirements.txt
6458

65-
venv-test/bin/pip install --upgrade pip-tools
66-
venv-test/bin/pip-compile --upgrade --verbose --resolver=backtracking requirements-test.in
67-
venv-test/bin/pip-sync requirements-test.txt
68-
69-
git commit -m "Update requirements" requirements.txt requirements-test.txt
59+
git commit -m "Update requirements" requirements.txt
7060
git push

0 commit comments

Comments
 (0)