Skip to content

loading support on Windows #12170

loading support on Windows

loading support on Windows #12170

Workflow file for this run

name: jruby-bundler
on:
pull_request:
push:
branches:
- master
concurrency:
group: ci-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
defaults:
run:
shell: bash
jobs:
jruby_bundler:
name: Bundler on JRuby (${{ matrix.os.name }})
runs-on: ${{ matrix.os.value }}
env:
RGV: ..
strategy:
fail-fast: false
matrix:
os:
- { name: Ubuntu, value: ubuntu-24.04 }
- { name: Windows, value: windows-2022 }
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup ruby
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4 # v1.207.0
with:
ruby-version: jruby-9.4.9.0
bundler: none
- name: Setup java
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: temurin
java-version: 19.0.2
if: matrix.os.name != 'Ubuntu'
- name: Prepare dependencies
run: |
bin/rake spec:parallel_deps
- name: Run Test
run: |
bin/parallel_rspec --tag jruby_only --tag jruby
working-directory: ./bundler
if: matrix.os.name == 'Ubuntu'
- name: Install local bundler
run: |
bin/rake bundler:install:local
if: matrix.os.name == 'Ubuntu'
- name: Run a warbler project
run: |
cd bundler/spec/realworld/fixtures/warbler
bundle install
bundle exec warble
java -jar warbler.jar
if: matrix.os.name == 'Ubuntu'