-
-
Notifications
You must be signed in to change notification settings - Fork 130
macOS Build Agent Setup
Marc Durdin edited this page Nov 17, 2021
·
11 revisions
- Install macOS Big Sur + updates
- Install XCode, start once
- Change sleep preference to never sleep
- Enable ssh login (with appropriate password etc of course https://superuser.com/questions/104929/how-do-you-run-a-ssh-server-on-mac-os-x)
- Set default shell to /opt/homebrew/bin/bash (add that to /etc/shells first), then chsh -s
- Install certificates and private keys
- FVKeyboards certificate
- Keyman for iOS
- Keyman for macOS
- ~/fastlane
- Install provisioning profiles
- Keyman x 2
- FVKeyboards x 2
xcode-select --install- Install Homebrew
brew install node.jsbrew install swiftlintbrew install carthagebrew install pandocbrew install coreutilsbrew install getsentry/tools/sentry-clibrew install jqbrew install bashbrew install wgetbrew install cocoapodsbrew install openjdk@11brew install rsyncbrew install hub- Install Build Agent software
- Add
KeymanBuildAgentenvironment variable to .zshrc and .bashrc - Add ssh keys for publishing artifacts
brew install fastlane- Login to keyman-server@github
- Setup fastlane UTF-8 in .bash_profile / .zprofile:
export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8
brew install mesoncurl https://sh.rustup.rs -sSf | sh- Add ~/.cargo/bin to path for buildAgent.properties
(For now we don't support rebuilding keyboards on macOS for core, until we have a better cross-platform kmcomp)