mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +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
24 lines
972 B
Plaintext
24 lines
972 B
Plaintext
# This file is useful when creating a base image, and then cloning it.
|
|
# Although none of the commands in here is needed to run lyx-tester,
|
|
# running some preparatory commands can save time for clones.
|
|
|
|
|
|
# For the base image, run the following:
|
|
sudo ./install-tl-ubuntu --only-apt-and-dpkg --hebrew
|
|
|
|
# Then, for clones, just need to run the following
|
|
# To run lyx-tester, consider one of the following commands:
|
|
|
|
sudo ./lyx-tester --itl-options "--no-apt-or-dpkg"
|
|
|
|
sudo ./lyx-tester --itl-options "--no-apt-or-dpkg --pretest"
|
|
|
|
sudo ./lyx-tester --qt-from "git" --itl-options "--no-apt-or-dpkg"
|
|
|
|
sudo ./lyx-tester --itl-options "--no-apt-or-dpkg --iso /home/$USER/Desktop/texlive2018.iso"
|
|
|
|
|
|
# To update LyX and run the ctests, do the following:
|
|
|
|
mylyxcd master && git pull && git clean -xdf && git reset --hard && GITHASH="$(git rev-parse --short HEAD)" && ~/Desktop/lyx-tester/lyxbuild && cd ../CMakeBuild/ && ctest > ~/"Desktop/ctests_$(date "+%Y-%m-%d")_${GITHASH}.log"
|