macOS Build Agent Setup - keymanapp/keyman GitHub Wiki
Basic Setup
- 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
Keyman for macOS, Keyman for iOS, KeymanWeb, FirstVoices Keyboards for iOS requirements
- 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.js
brew install swiftlint
brew install carthage
brew install pandoc
brew install coreutils
brew install getsentry/tools/sentry-cli
brew install jq
brew install bash
brew install wget
brew install cocoapods
brew install openjdk@11
brew install rsync
brew install hub
- Install Build Agent software
- Add
KeymanBuildAgent
environment 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
Keyman Core requirements
brew install meson
curl 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)