blob: d2e1f337362fb7fe9ab7de29a4268cd9c26c4edc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
default:
image: ruby:<%= RUBY_VERSION %>
before_script:
<%- if config[:ext] == 'rust' -%>
- apt-get update && apt-get install -y clang
- gem update --system '<%= ::Gem.rubygems_version %>'
<%- end -%>
- gem install bundler -v <%= Bundler::VERSION %>
- bundle install
example_job:
<%- if config[:ext] == 'rust' -%>
variables:
RB_SYS_FORCE_INSTALL_RUST_TOOLCHAIN: 'true'
<%- end -%>
script:
- bundle exec rake
|