This commit is contained in:
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user