Skip to content

Commit 9542df0

Browse files
committed
ci: install libfontconfig1-dev for Slint builds
Slint pulls in fontique → yeslogic-fontconfig-sys transitively, which fails to build without fontconfig present on the system.
1 parent aa43678 commit 9542df0

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616
- uses: dtolnay/rust-toolchain@stable
17-
- run: sudo apt-get install libdbus-1-dev
17+
- run: sudo apt-get install libdbus-1-dev libfontconfig1-dev
1818
- run: cargo check
1919

2020
fmt:
@@ -25,7 +25,7 @@ jobs:
2525
- uses: dtolnay/rust-toolchain@stable
2626
with:
2727
components: rustfmt
28-
- run: sudo apt-get install libdbus-1-dev
28+
- run: sudo apt-get install libdbus-1-dev libfontconfig1-dev
2929
- run: cargo fmt --all -- --check
3030

3131
clippy:
@@ -36,5 +36,5 @@ jobs:
3636
- uses: dtolnay/rust-toolchain@stable
3737
with:
3838
components: clippy
39-
- run: sudo apt-get install libdbus-1-dev
39+
- run: sudo apt-get install libdbus-1-dev libfontconfig1-dev
4040
- run: cargo clippy -- -D warnings

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: dtolnay/rust-toolchain@stable
1919
- uses: Swatinem/rust-cache@v2
20-
- run: sudo apt-get install libdbus-1-dev
20+
- run: sudo apt-get install libdbus-1-dev libfontconfig1-dev
2121
- run: cargo check
2222

2323
fmt:
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
components: rustfmt
3131
- uses: Swatinem/rust-cache@v2
32-
- run: sudo apt-get install libdbus-1-dev
32+
- run: sudo apt-get install libdbus-1-dev libfontconfig1-dev
3333
- run: cargo fmt --all -- --check
3434

3535
clippy:
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
components: clippy
4343
- uses: Swatinem/rust-cache@v2
44-
- run: sudo apt-get install libdbus-1-dev
44+
- run: sudo apt-get install libdbus-1-dev libfontconfig1-dev
4545
- run: cargo clippy -- -D warnings
4646

4747
check-release:
@@ -87,7 +87,7 @@ jobs:
8787

8888
- uses: Swatinem/rust-cache@v2
8989

90-
- run: sudo apt-get install libdbus-1-dev
90+
- run: sudo apt-get install libdbus-1-dev libfontconfig1-dev
9191

9292
- name: Update version
9393
run: |

0 commit comments

Comments
 (0)