Sha256: 2b236443e82756a6a48bfc4fbfe971d2b01f61c46eeac3b309a2da3804962774

Contents?: true

Size: 1.06 KB

Versions: 4

Compression:

Stored size: 1.06 KB

Contents

#!/usr/bin/env bash

#    Copyright 2020 Couchbase, Inc.
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.

PROJECT_ROOT="$( cd "$(dirname "$0"/../..)" >/dev/null 2>&1 ; pwd -P )"

set -x
set -e

CB_RUBY_VERSION=${CB_RUBY_VERSION:-2.7.1}

export PATH="$(realpath ~/.cmake-3.17.2/bin):$PATH"

source /usr/local/share/chruby/chruby.sh
chruby ruby-${CB_RUBY_VERSION}

ruby --version
bundle --version
bundle config set --local path ${PROJECT_ROOT}/vendor/bundle

bundle install
export EXT_BUILD_DIR="${PROJECT_ROOT}/build-${RUBY_VERSION}-${BUILD_NUMBER}"
bundle exec rake compile

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
couchbase-3.0.0.alpha.5-x86_64-linux bin/jenkins/build-extension
couchbase-3.0.0.alpha.5-universal-darwin-19 bin/jenkins/build-extension
couchbase-3.0.0.alpha.5-x86_64-darwin-19 bin/jenkins/build-extension
couchbase-3.0.0.alpha.5 bin/jenkins/build-extension