Skip to content

Commit 6579d8d

Browse files
committed
Compile fontconfig in ASAN CI
1 parent 9c8e8ee commit 6579d8d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/CI.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,15 @@ jobs:
9595
- uses: dtolnay/rust-toolchain@nightly
9696
with:
9797
components: rust-src
98-
- run: sudo apt-get -y install libfontconfig1-dev llvm
98+
- run: sudo apt-get -y install llvm gperf libfreetype-dev libexpat-dev
99+
- name: Compile fontconfig 2.16.0
100+
run: |
101+
curl "https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.16.0.tar.xz" | tar xJf -
102+
cd fontconfig-2.16.0
103+
./configure --sysconfdir=/etc --prefix=/usr
104+
make
105+
sudo make install
106+
sudo ldconfig /usr/lib
99107
- name: cargo test --features serde
100108
run: |
101109
cargo test -Zbuild-std --target x86_64-unknown-linux-gnu --features serde

0 commit comments

Comments
 (0)