This repository was archived by the owner on May 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Release: Build a Windows Cache
Patricia Aas edited this page May 25, 2020
·
12 revisions
Done in GitBash
export CONAN_USER_HOME="c:/release/"
export CONAN_USER_HOME_SHORT="c:/release/short/"
git clone [email protected]:turtlebrowser/conan-cache-turtlebrowser.git $CONAN_USER_HOME
cd $CONAN_USER_HOME
# If first time:
# git checkout -b host-Windows-target-Windows-master
# git push -u origin host-Windows-target-Windows-master
# else:
git checkout host-Windows-target-Windows-master
git clean -df
git pull
git lfs pull
find .conan/ -name .conan_link -exec perl -pi -e 's=CONAN_USER_HOME_SHORT=$ENV{CONAN_USER_HOME_SHORT}=g' {} +
# endif
cd <path to checkout>/turtlebrowser
git pull
rm -rf build
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release ..
conan remove -f "*" --builds
conan remove -f "*" --src
conan remove -f "*" --system-reqs
cd $CONAN_USER_HOME
find .conan/ -name .conan_link -exec perl -pi -e 's=$ENV{CONAN_USER_HOME_SHORT}=CONAN_USER_HOME_SHORT/=g' {} +
find .conan/ -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
git lfs track 'Qt5WebEngineCore.dll'
git add -A
git commit -m "Local build"
git push