Skip to content

Commit

Permalink
Test ruby for release in a quicker way
Browse files Browse the repository at this point in the history
  • Loading branch information
Riccardo Cipolleschi committed Nov 10, 2022
1 parent 114098d commit 6b42508
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,25 @@ commands:
paths:
- vendor/bundle

install_ruby_ubuntu:
steps:
- run:
name: setup rbenv
command: |
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo "add eval(rbenv init) to ~/.bashrc"
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
sudo apt-get install libz-dev
- run:
name: install ruby
command: |
RUBY_VERSION=$(cat .ruby-version)
$HOME/.rbenv/bin/rbenv install "$RUBY_VERSION" --verbose
$HOME/.rbenv/bin/rbenv global "$RUBY_VERSION"
run_yarn:
parameters:
yarn_base_cache_key:
Expand Down Expand Up @@ -1360,6 +1379,9 @@ jobs:
steps:
- checkout_code_with_cache
- run_yarn
- run:
name: Which Ruby
command: which ruby
- add_ssh_keys:
fingerprints:
- "1c:98:e0:3a:52:79:95:29:12:cd:b4:87:5b:41:e2:bb"
Expand Down Expand Up @@ -1388,6 +1410,7 @@ jobs:
echo '|1|If6MU203eXTaaWL678YEfWkVMrw=|kqLeIAyTy8pzpj8x8Ae4Fr8Mtlc= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==' >> ~/.ssh/known_hosts
- checkout
- *attach_hermes_workspace
- install_ruby_ubuntu
- run:
name: Copy Hermes binaries
command: |
Expand Down

0 comments on commit 6b42508

Please sign in to comment.