summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2020-11-09 15:27:18 -0700
committerGitHub <noreply@github.com>2020-11-09 15:27:18 -0700
commitdf65e6b646cc8e5fe6d753594a8f7228d1287983 (patch)
treef57696ef3b76e6fa940aa3e7ed7416dcd8e6e676 /.github
parent4e215c52f85685dec70ac0364773f10abd25b1e6 (diff)
resolves #3839 migrate Windows CI to GitHub Actions (PR #3840)
- define JRUBY_OPTS globally to simplify build matrix
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml15
1 files changed, 11 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0c5fb90c..433086cc 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,22 +15,29 @@ jobs:
needs: activate
strategy:
matrix:
- os: [ubuntu-latest]
- ruby: [truffleruby-20.2.0, 2.3.8, 2.4.10, 2.5.8, 2.6.6, jruby-9.1.17.0]
+ os: [ubuntu-latest, windows-latest]
+ ruby: ['2.3', '2.4', '2.5', '2.6', '2.7']
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
- jruby-opts: '-J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-Xss2m -Xcompile.invokedynamic=false'
- os: ubuntu-latest
ruby: 2.3.8
rouge-version: '~> 2.0.0'
- os: ubuntu-latest
- ruby: 2.7.2
+ ruby: '2.7'
primary: true
runs-on: ${{ matrix.os }}
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: