There is a bug in the package tree of on the default images that
causes some dependencies not to be found. Running apt-get gets us
the latest package lists rather than relying on the default lists
in the GitHub Runner imgae, which can be up to a week old.
Running apt-get update before intstalling packages is also recommended in
the official github documentation:
https://docs.github.com/en/actions/using-github-hosted-runners/customizing-github-hosted-runners#installing-software-on-ubuntu-runners
Reviewed By: thieta
Differential Revision: https://reviews.llvm.org/D148741
- name: Install Dependencies
run: |
+ sudo apt-get update \
sudo apt-get install -y \
doxygen \
graphviz \