Merge pull request #13 from technicalpickles/suggest-install-pkg-config #21
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: CI | |
on: [push, pull_request] | |
jobs: | |
rubies: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: [ ruby-head, '3.2', '3.1', '3.0', '2.7', '2.6', '2.5' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install packages | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libgda-5.0 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Install dependencies | |
run: bundle install | |
- name: Run test | |
run: rake | |
- name: Install gem | |
run: rake install | |
platforms: | |
strategy: | |
matrix: | |
os: [macos] | |
ruby: ['2.5'] | |
runs-on: ${{ matrix.os }}-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install packages (macos) | |
run: brew install libgda # NOTE: current libgda is 6.0 | |
if: matrix.os == 'macos' | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Install dependencies | |
run: bundle install | |
- name: Run test | |
run: rake | |
- name: Install gem | |
run: rake install |