]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
ci: install cairo on ubuntu latest
authorMarc Foley <m.foley.88@gmail.com>
Tue, 7 Jan 2025 08:56:01 +0000 (08:56 +0000)
committerMarc Foley <m.foley.88@gmail.com>
Tue, 7 Jan 2025 08:56:01 +0000 (08:56 +0000)
.github/workflows/ci.yaml
.github/workflows/report.yaml

index 4cf0fe30468ca532a36ad8140fec4d11a63d8d72..39ad4146200680a140eba3c7c3cd81bb0795b8b7 100644 (file)
@@ -26,6 +26,9 @@ jobs:
       uses: actions/setup-python@v4
       with:
         python-version: "3.10"
+    - name: Install Cairo (Ubuntu)
+      if: matrix.platform == 'ubuntu-latest'
+      run: sudo apt-get install libcairo2-dev
 
     # Check to_sandbox.txt and to_production.txt do not contain typos
     - name: Install gftools
@@ -42,6 +45,9 @@ jobs:
       uses: actions/setup-python@v4
       with:
         python-version: "3.10"
+    - name: Install Cairo (Ubuntu)
+      if: matrix.platform == 'ubuntu-latest'
+      run: sudo apt-get install libcairo2-dev
 
     # Check Knowledge link graph
     - name: Install dependencies
index 3b089dc06f2cf225ed16010422f8a2e68458d833..bc41d6c5382dfb2b2387705b214ec89d2803a2ae 100644 (file)
@@ -20,6 +20,9 @@ jobs:
       uses: actions/setup-python@v4
       with:
         python-version: "3.10"
+    - name: Install Cairo (Ubuntu)
+      if: matrix.platform == 'ubuntu-latest'
+      run: sudo apt-get install libcairo2-dev
     - name: Install dependencies
       run: pip install gftools[qa]
     - name: Generate report