Skip to content

Commit

Permalink
resolves asciidoctor#3550 add JRuby for Windows to CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Nov 10, 2020
1 parent d991aa8 commit 79a8798
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -16,18 +16,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
ruby: ['2.3', '2.4', '2.5', '2.6', '2.7']
ruby: ['2.3', '2.4', '2.5', '2.6', '2.7', jruby-9.1.17.0, jruby-9.2.13.0]
rouge-version: [~]
exclude:
- os: ubuntu-latest
ruby: '2.7'
include:
- os: ubuntu-latest
ruby: truffleruby-20.2.0
- os: ubuntu-latest
ruby: jruby-9.1.17.0
- os: ubuntu-latest
ruby: jruby-9.2.13.0
- os: ubuntu-latest
ruby: '2.3'
rouge-version: '~> 2.0.0'
Expand All @@ -38,7 +34,6 @@ jobs:
env:
COVERAGE: ${{ matrix.primary }}
JRUBY_OPTS: '-J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-Xss2m -Xcompile.invokedynamic=false'
PYGMENTS_VERSION: '~> 1.2.0'
SOURCE_DATE_EPOCH: '1521504000'
steps:
- name: Checkout
Expand All @@ -53,6 +48,9 @@ jobs:
run: |
bundle config --local path .bundle/gems
bundle config --local without docs
- name: Set Pygments version
if: "!(matrix.os == 'windows-latest' && contains(matrix.ruby, 'jruby'))"
run: echo 'PYGMENTS_VERSION=~> 1.2.0' >> $GITHUB_ENV
- name: Set Rouge version
if: matrix.rouge-version
run: echo 'ROUGE_VERSION=${{ matrix.rouge-version }}' >> $GITHUB_ENV
Expand Down

0 comments on commit 79a8798

Please sign in to comment.