Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move experimental builds out of the CI workflow and into their own workflow #706

Merged
merged 2 commits into from
Mar 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 0 additions & 10 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,10 @@ jobs:
operating-system: [ubuntu-latest]
experimental: [No]
include:
- # Building against head version of Ruby is considered experimental
ruby: head
operating-system: ubuntu-latest
experimental: Yes

- # Only test with minimal Ruby version on Windows
ruby: 3.0
operating-system: windows-latest

- # Since JRuby on Windows is known to not work, consider this experimental
ruby: jruby-9.4.5.0
operating-system: windows-latest
experimental: Yes

steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/experimental_continuous_integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI Experimental

on:
push:
branches: [master,v1]
workflow_dispatch:

jobs:
build:
name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
continue-on-error: true
env: { JAVA_OPTS: -Djdk.io.File.enableADS=true }

strategy:
fail-fast: false
matrix:
include:
- # Building against head version of Ruby is considered experimental
ruby: head
operating-system: ubuntu-latest
experimental: Yes

- # Since JRuby on Windows is known to not work, consider this experimental
ruby: jruby-head
operating-system: windows-latest
experimental: Yes

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Run Build
run: bundle exec rake default

- name: Test Gem
run: bundle exec rake test:gem