Add 1.0.3 entry #45
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: test | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
name: "Ruby ${{ matrix.ruby-version }} on ${{ matrix.runs-on }}" | |
runs-on: ${{ matrix.runs-on }} | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby-version: | |
- "3.1" | |
- "3.2" | |
- "3.3" | |
runs-on: | |
- ubuntu-latest | |
- macos-latest | |
# - windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: Prepare the Apache Arrow APT repository | |
if: | | |
matrix.runs-on == 'ubuntu-latest' | |
run: | | |
sudo apt update | |
sudo apt install -y -V ca-certificates lsb-release wget | |
wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb | |
sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb | |
sudo apt update | |
- name: Prepare the Red Data Tools APT repository | |
if: | | |
matrix.runs-on == 'ubuntu-latest' | |
run: | | |
wget https://packages.red-data-tools.org/$(lsb_release --id --short | tr 'A-Z' 'a-z')/red-data-tools-apt-source-latest-$(lsb_release --codename --short).deb | |
sudo apt install -y -V ./red-data-tools-apt-source-latest-$(lsb_release --codename --short).deb | |
sudo apt update | |
- name: Install libduckdb-dev | |
if: | | |
matrix.runs-on == 'ubuntu-latest' | |
run: | | |
sudo apt install -y -V libduckdb-dev | |
- name: Install dependency Homebrew packages | |
if: | | |
matrix.runs-on == 'macos-latest' | |
run: | | |
brew update | |
brew bundle | |
- name: Install dependency gems | |
run: | | |
bundle install | |
- name: Build | |
run: | | |
bundle exec rake compile | |
- name: Test | |
run: | | |
bundle exec rake |