Sha256: c79cdc7a1e148e491c932157ba76a9900000e5c9f48bfb77721231c760b07c1f

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

name: Windows

on:
  push:
    branches:
      - master
  pull_request:
    types:
      - opened
      - synchronize
      - reopened

jobs:
  test:
    runs-on: windows-latest
    strategy:
      matrix:
        ruby: ['2.6.10', '2.7.6', '3.0.4', '3.1.2', 'ucrt', 'mingw', 'head']
        duckdb: ['0.4.0', '0.5.0']

    steps:
    - uses: actions/checkout@v2

    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}

    - name: download duckdb binary for windows 64bit
      env:
        DUCKDB_VERSION: ${{ matrix.duckdb }}
      run: |
        curl -OL https://github.com/duckdb/duckdb/releases/download/v${env:DUCKDB_VERSION}/libduckdb-windows-amd64.zip

    - name: extract zip file
      run: |
        unzip libduckdb-windows-amd64.zip

    - name: setup duckdb.dll
      run: |
        cp duckdb.dll C:/Windows/System32/

    - name: Build with Rake with Ruby ${{ matrix.ruby }}
      run: |
        bundle install
        bundle exec rake build -- --with-duckdb-include=../../../.. --with-duckdb-lib=../../../..

    - name: rake test
      run: |
        rake test

  post-test:
    name: All tests passed on Windows
    runs-on: windows-latest
    needs: test
    steps:
      - run: echo ok

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
duckdb-0.5.0 .github/workflows/test_on_windows.yml