From 3f081c0c1fedb97b2bd0b9ae558634b809826dd6 Mon Sep 17 00:00:00 2001 From: James Couball Date: Thu, 4 Jan 2024 08:13:40 -0800 Subject: [PATCH] Add an experimental build for jruby-head on windows --- .github/workflows/continuous-integration.yml | 29 ++++++++++++++++---- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index b217bfd..4a0636e 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -13,20 +13,37 @@ jobs: build: name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }} runs-on: ${{ matrix.operating-system }} + continue-on-error: ${{ matrix.experimental == 'Yes' }} strategy: fail-fast: false matrix: - ruby: - ["3.0", "3.1", "3.2", "3.3", "head", "jruby-head", "truffleruby-head"] + ruby: ["3.0", "3.1", "3.2", "3.3", "jruby-head", "truffleruby-head"] operating-system: [ubuntu-latest] + experimental: [No] include: - - ruby: 3.0 + - # Run minimal Ruby version supported on windows-latest + ruby: 3.0 operating-system: windows-latest - - ruby: 3.3 + + - # Run maximal Ruby version supported on windows-latest + ruby: 3.3 + operating-system: windows-latest + + - # Run head version of Ruby on ubuntu-latest + ruby: head + operating-system: ubuntu-latest + # If this build fails, it is ok to set the `experimental` flag + # to `Yes` to allow the build to continue. Add an issue about + # the build failing on "ruby: head". + # experimental: Yes + + - # Experimental build for jruby on windows + ruby: jruby-head operating-system: windows-latest - # - ruby: jruby-head - # operating-system: windows-latest + # This gem does not support jruby on windows yet + # Remove this `experimental` flag when this build succeeds. + experimental: Yes env: JAVA_OPTS: -Djdk.io.File.enableADS=true