Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
iquerejeta committed Dec 27, 2024
1 parent bffb76c commit 7e3a91c
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
features: batch,dev-graph,gadget-traces,test-dev-graph,thread-safe-region,sanity-checks,circuit-params

steps:
- uses: ./.github/workflows/libfontconfig.yaml
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
Expand All @@ -42,6 +43,7 @@ jobs:
- wasm32-wasi

steps:
- uses: ./.github/workflows/libfontconfig.yaml
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
Expand All @@ -59,6 +61,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: ./.github/workflows/libfontconfig.yaml
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
Expand All @@ -75,6 +78,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: ./.github/workflows/libfontconfig.yaml
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
Expand All @@ -97,6 +101,7 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: ./.github/workflows/libfontconfig.yaml
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/libfontconfig.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This yaml file seems to be necessary with the latest bump in dependencies. I've tried
# to avoid adding this step in every job, but haven't found a better solution.
name: Install libfontconfig

on:
workflow_call: # Makes this workflow reusable

jobs:
shared-steps:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libfontconfig1-dev
1 change: 1 addition & 0 deletions .github/workflows/lints-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
continue-on-error: true

steps:
- uses: ./.github/workflows/libfontconfig.yaml
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lints-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: ./.github/workflows/libfontconfig.yaml
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
components: clippy
override: false
- name: Clear Cargo cache
run: cargo clean
- name: Run clippy
uses: actions-rs/clippy-check@v1
with:
Expand Down

0 comments on commit 7e3a91c

Please sign in to comment.