Skip to content

Test Windows

Test Windows #291

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v5
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
tmp
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.4
bundler-cache: true
- run: bundle exec rake compile
env:
RUST_TARGET: x86_64-pc-windows-gnu
- run: bundle exec rake test
env:
STRESS: 1
# - run: bundle exec yard --fail-on-warning
# - run: bundle exec rake test:docs
# - uses: ankane/setup-postgres@v1
# with:
# database: polars_ruby_test
# - run: ADAPTER=postgresql ruby test/database_test.rb
# - uses: ankane/setup-mysql@v1
# with:
# database: polars_ruby_test
# - run: ADAPTER=mysql ruby test/database_test.rb
# - run: ADAPTER=trilogy ruby test/database_test.rb