mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-04 22:32:19 +00:00
6cc9638dc2
These scripts help with building and testing LyX, mostly with the ctest framework. "lyxbuild" is a build script that has different options (e.g., to compile with Clang/GCC, Qt 5/6, CMake/autotools). The build script also has an option to cherry-pick compiler fixes which make it easier to build older commits on newer compiler versions (useful when performing a "git bisect"). See "lyxbuild --help" for more information. The previous home of lyx-tester was: https://gitlab.com/scottkosty/lyx-tester
1.3 KiB
1.3 KiB
install-tl-ubuntu
Usage
sudo ./lyx-tester
Description
These scripts help with testing LyX. The main idea is that you can clone this repo into a fresh Ubuntu install (e.g. in a virtual box) and run all LyX tests with just one command. This script does the following:
- git clones and compiles the LyX master branch
- installs the dependencies needed to run the tests (e.g. R, knitr, LilyPond, DocBook)
- installs language dependencies (Hebrew and Chinese fonts)
- runs install-tl-ubuntu (see below)
- runs all of the tests (tex2lyx, autotests, and export tests)
lyx-tester runs install-tl-ubuntu, which does the following:
- a full installation of the latest release of TeX Live.
- notifies apt so that apt does not try to install the Ubuntu texlive-* packages as dependencies (e.g. if you do 'sudo apt-get install lyx')
- installs (optionally) all of the LaTeX files that LyX templates and examples depend on
- links to the folder where Ubuntu installs TeX files so that when you install packages with LaTeX (e.g. FoilTeX and noweb), they will be available.
Finally, the script ssh-lyx-tester dispatches lyx-tester to an ssh-server. I use this with Amazon's EC2. All one has to do is run the following ./ssh-lyx-tester
Authors
Scott Kostyshak Kornel Benko