mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-12 08:57:30 +00:00
This change is in response to inconsistent build behavior where we observed better outcomes after manually cleaning the Carthage cache. The cache folder had clearly also become very large over time so this has the side benefit of clearing up space on the build agents. It is unclear how much time this will cost in the build, but we don't suppose it will make them dramatically slower. Note: the same change has been applied in TC for stable-18.0 builds. Test-bot: skip |
||
|---|---|---|
| .. | ||
| android | ||
| common | ||
| developer | ||
| includes | ||
| ios | ||
| linux | ||
| macos | ||
| triggers | ||
| web | ||
| windows | ||
| README.md | ||
Teamcity Build Configuration Scripts
This directory contains TeamCity (TC) build scripts. Each script corresponds to a build configuration on TC.
Running scripts locally
It's possible to run some of the build locally in a Docker container. Of course this won't work for the parts, like uploading files, that require keys or other secrets.
To run locally start a Docker container:
docker run -v $(pwd):/Develop -it ubuntu:24.04 /bin/bash
(for the Linux integration tests, you'll have to pass --privileged as well.)
Inside of the container, run
apt update && apt install -y sudo
export DOCKER_RUNNING=1
echo "ubuntu ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
su ubuntu
and then run the build, e.g.
cd /Develop
resources/teamcity/linux/keyman-linux-test.sh configure,build,test