【发布时间】:2021-09-01 10:13:36
【问题描述】:
我正在尝试执行一些 Github 操作测试,作为 CI 工作流程的一部分。这些测试应该做相当多的 pdf / png 动作,但我遇到了convert-im6.q16: unable to read font `FreeMono' 的问题。我已经尝试通过在测试之前安装/重新安装ghostscript 来解决这些问题,并遵循一些在线建议,但没有成功。基本上 Github 操作看起来像:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: quick tests
run: |
cd src
bash install.sh
cd ../tests/
bash run_all_tests.sh
测试失败并显示以下输出:
convert-im6.q16: unable to read font `FreeMono' @ warning/annotate.c/RenderType/915.
convert-im6.q16: unable to read font `FreeMono' @ error/annotate.c/RenderFreetype/1338.
convert-im6.q16: non-conforming drawing primitive definition `text' @ error/draw.c/RenderMVGContent/4300.
convert-im6.q16: unable to read font `FreeMono' @ warning/annotate.c/RenderType/915.
convert-im6.q16: unable to read font `FreeMono' @ error/annotate.c/RenderFreetype/1338.
convert-im6.q16: non-conforming drawing primitive definition `text' @ error/draw.c/RenderMVGContent/4300.
这适用于我的个人 Ubuntu 20.04 机器,我认为我不需要调整 ghostscript 或 convert-im6(至少我记得没有)。
知道如何解决这些问题,使其在 Github action latest ubuntu 上的工作方式与在我的机器上一样吗?
【问题讨论】:
标签: fonts github-actions