Sha256: e7425e9a82c10e8a4437e57121ca7500ed4b8ee1dc9127bd20480222183e470c

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

name: Windows

on: [push]

jobs:
  build:
    runs-on: windows-latest
    strategy:
      matrix:
        ruby: ['2.5.8', '2.6.7', '2.7.3', '3.0.1', 'head']

    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
      run: |
        curl -OL https://github.com/duckdb/duckdb/releases/download/v0.2.6/libduckdb-windows-amd64.zip

    - name: extract zip file
      run: |
        7z x libduckdb-windows-amd64.zip

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

    # FIXME: rake test fails with LoadError
    # C:/hostedtoolcache/windows/Ruby/2.7.3/x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require': 126: The specified module could not be found.   - D:/a/ruby-duckdb/ruby-duckdb/lib/duckdb/duckdb_native.so (LoadError)`
    # - name: rake test
    #   run: |
    #     rake test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
duckdb-0.2.8.0 .github/workflows/test_on_windows.yml
duckdb-0.2.7.0 .github/workflows/test_on_windows.yml