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 9, 2020
1 parent 545f276 commit 61c8c96
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/ci.yml
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
activate:
runs-on: ubuntu-latest
if: |
if:
!endsWith(github.event.head_commit.message, '[skip ci]')
steps:
- run: echo ok go
Expand All @@ -16,7 +16,7 @@ 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
Expand All @@ -25,11 +25,7 @@ jobs:
- 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.8
ruby: '2.3'
rouge-version: '~> 2.0.0'
- os: ubuntu-latest
ruby: '2.7'
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,11 @@ 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: |
Expand All @@ -62,7 +62,8 @@ jobs:
run: |
echo "JRUBY_OPTS=${{ matrix.jruby-opts }}" >> $GITHUB_ENV
- name: Install Nokogiri build dependencies
if: contains(matrix.ruby, 'truffleruby')
if: |
contains(matrix.ruby, 'truffleruby')
run: |
sudo apt-get install libxslt1-dev
- name: Install dependencies
Expand Down

0 comments on commit 61c8c96

Please sign in to comment.