Heray-Was-Here
Server : LiteSpeed
System : Linux server310.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User : myveqfxv ( 6863)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /opt/alt/ruby40/share/gems/gems/bundler-4.0.10/lib/bundler/templates/newgem/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/ruby40/share/gems/gems/bundler-4.0.10/lib/bundler/templates/newgem/gitlab-ci.yml.tt
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 -%>
<%- if config[:ext] == 'go' -%>
    - wget https://go.dev/dl/go$GO_VERSION.linux-amd64.tar.gz -O /tmp/go.tar.gz
    - tar -C /usr/local -xzf /tmp/go.tar.gz
    - export PATH=/usr/local/go/bin:$PATH
<%- end -%>
    - gem install bundler -v <%= Bundler::VERSION %>
    - bundle install

example_job:
<%- if config[:ext] == 'rust' -%>
  variables:
    RB_SYS_FORCE_INSTALL_RUST_TOOLCHAIN: 'true'
<%- end -%>
<%- if config[:ext] == 'go' -%>
  variables:
    GO_VERSION: '1.23.0'
<%- end -%>
  script:
    - bundle exec rake

Hry