Cirrus: Install ronn on macOS
@@ -50,10 +50,13 @@ mac_task:
- | # Install Ruby
brew install ruby@2.5
export PATH="/usr/local/opt/ruby@2.5/bin:$PATH"
- - > # Install Ruby gems
- gem install test-unit --user-install --no-document
+ - | # Install Ruby gems
+ gem install ronn test-unit --user-install --no-document
script:
+ - |
+ export PATH="/usr/local/opt/ruby@2.5/bin:$PATH"
+ export PATH="$HOME/.gem/ruby/$(ruby -e 'puts RUBY_VERSION' | sed 's/\.[0-9]$/.0/')/bin:$PATH"
- SYSTEM_DIR="$PWD/kdbsystem"
- mkdir build && cd build
- cmake -GNinja -DPLUGINS=ALL -DBINDINGS=ALL -DKDB_DB_SYSTEM="$SYSTEM_DIR" ..
