Skip to content

Added support for Ruby 3.4 #29

Added support for Ruby 3.4

Added support for Ruby 3.4 #29

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ruby: 3.4
config: example-ignite.xml
- ruby: "3.0"
config: authentication.xml
env: IGNITE_AUTH=t
env:
IGNITE_VERSION: 2.16.0
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- uses: actions/cache@v4
with:
path: ~/ignite
key: ignite-${{ env.IGNITE_VERSION }}
id: cache-ignite
- name: Download Ignite
if: steps.cache-ignite.outputs.cache-hit != 'true'
run: |
wget -q https://dlcdn.apache.org//ignite/$IGNITE_VERSION/apache-ignite-$IGNITE_VERSION-bin.zip
unzip -q apache-ignite-$IGNITE_VERSION-bin.zip
mv apache-ignite-$IGNITE_VERSION-bin ~/ignite
- run: |
cp test/support/authentication.xml ~/ignite/examples/config
~/ignite/bin/ignite.sh ~/ignite/examples/config/${{ matrix.config }} &
sleep 15
~/ignite/bin/control.sh --user ignite --password ignite --set-state ACTIVE --yes
- run: ${{ matrix.env }} bundle exec rake test