We run tests on GitHub Actions on Windows, macOS, and Linux with the minimal installations of TeX Live.
We can see preinstalled software on each platform. Perl 5 is installed even on Windows. So, all we have to do is just installing TeX Live.
For the installer of TeX Live, install-tl
, see the official manual. Giving a profile fie to the option, -profile
, we can install TeX Live in batch mode with no user interaction.
We can see available installation schemes, scheme-infraonly
, scheme-small
, and so on in
/usr/local/texlive/2019/tlpkg/texlive.tlpdb
For the management command of TeX Live, tlmgr
, see the official document.
To avoid install TeX Live each time, we use a caching feature, actions/cache. The caches for the master
branch are also used for feature branches.
The caches are removed if they have not been accessed in over 7 days.
When we want to remove the caches manually, increase the number of cache-version
on each YAML file.
env:
cache-version: v2
For the details of GitHub Actions, read the following documents.