CI setup #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |