File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 5656 toolchain : ${{ matrix.rust }}
5757 override : true
5858
59- - name : Install fontconfig and pkg-config
59+ - name : Install fontconfig on Ubuntu
60+ if : matrix.os == 'ubuntu-latest'
6061 run : sudo apt-get update && sudo apt-get install -y libfontconfig1-dev pkg-config
6162
63+ - name : Install fontconfig on macOS
64+ if : matrix.os == 'macos-latest'
65+ run : brew install fontconfig pkg-config
66+
6267 - name : Run tests
6368 uses : actions-rs/cargo@v1
6469 with :
@@ -103,6 +108,9 @@ jobs:
103108 - name : Checkout sources
104109 uses : actions/checkout@v2
105110
111+ - name : Install fontconfig and pkg-config
112+ run : sudo apt-get update && sudo apt-get install -y libfontconfig1-dev pkg-config
113+
106114 - name : Install stable toolchain
107115 uses : actions-rs/toolchain@v1
108116 with :
@@ -128,6 +136,9 @@ jobs:
128136 steps :
129137 - uses : actions/checkout@v2
130138
139+ - name : Install fontconfig and pkg-config
140+ run : sudo apt-get update && sudo apt-get install -y libfontconfig1-dev pkg-config
141+
131142 - uses : actions-rs/toolchain@v1
132143 with :
133144 toolchain : 1.82.0
You can’t perform that action at this time.
0 commit comments