Skip to content

CI setup

CI setup #10

Workflow file for this run

name: Ruby
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.3.2'
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install chdb library
run: curl -sL https://lib.chdb.io | bash
- name: Copy chdb lib to root path
run: cp /usr/local/lib/libchdb.so .
- name: Build gem
run: bundle exec rake build
- name: ls
run: ls -l
- name: Run the default task
run: bundle exec rspec