.github/workflows/test_on_windows.yml in duckdb-0.3.1.0 vs .github/workflows/test_on_windows.yml in duckdb-0.3.2.0
- old
+ new
@@ -1,16 +1,24 @@
name: Windows
-on: [push]
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ types:
+ - opened
+ - synchronize
+ - reopened
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
- ruby: ['2.6.8', '2.7.4', '3.0.2', 'head']
- duckdb: ['0.3.0', '0.3.1']
+ ruby: ['2.6.9', '2.7.5', '3.0.3', '3.1.1', 'mingw', 'head']
+ duckdb: ['0.3.2', '0.3.1']
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
@@ -24,18 +32,19 @@
run: |
curl -OL https://github.com/duckdb/duckdb/releases/download/v${env:DUCKDB_VERSION}/libduckdb-windows-amd64.zip
- name: extract zip file
run: |
- 7z x libduckdb-windows-amd64.zip
+ 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: setup duckdb.dll
- run: |
- cp duckdb.dll C:/Windows/System32/
- name: rake test
run: |
rake test